SCIENTIFIC-LINUX-USERS Archives

November 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Orion Poplawski <[log in to unmask]>
Reply To:
Orion Poplawski <[log in to unmask]>
Date:
Wed, 21 Nov 2012 12:21:00 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
On 11/21/2012 12:16 PM, Pat Riehecky wrote:
> On 11/21/2012 01:02 PM, Orion Poplawski wrote:
>> On 11/21/2012 11:49 AM, Pat Riehecky wrote:
>>> On 11/21/2012 12:44 PM, Orion Poplawski wrote:
>>>> It appears that SL packages are being built with a different "dist" rpm
>>>> macro than is in the sl-release package.  e.g.:
>>>>
>>>> postgresql.x86_64    8.4.13-1.el6_3       sl-security
>>>>
>>>> But the dist macro in sl-release-6.3-1 is still "el6", not "el6_3". So when
>>>> I build an updated package locally it has a NEVRA of
>>>> "postgresql-8.4.13-1.el6.cora.1" which is not newer than the SL version.
>>>>
>>>> What version of sl-release are the released packages built against? Or is
>>>> there some other modification done?
>>>>
>>>> Thanks!
>>>>
>>>
>>> The package was built to match the upstream name.
>>>
>>> http://rhn.redhat.com/errata/RHSA-2012-1263.html#Red%20Hat%20Enterprise%20Linux%20Server%20%28v.%206%29
>>>
>>>
>>>
>>> Pat
>>>
>>
>> Which is good :).  Hmm, looks likes
>> redhat-release-server-6Server-6.3.0.3.el6 still has dist set to el6, so that
>> not how they do it :(.  Unfortunately I'm building locally with mock and I
>> don't know of a way to override the dist macro in that way.
>>
>
> Untested theory:
>
> Perhaps adding this to your mock config file?
> config_opts['macros']['%dist'] = 'asdf'

Yup, that or:

mock -r epel-6-x86_64 -D 'dist .el6_3'  ....

Thanks!

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       [log in to unmask]
Boulder, CO 80301                   http://www.nwra.com

ATOM RSS1 RSS2