Re: atrpms-rpm-config for rhel6

John Pilkington <[email protected]> Sat, 18 May 2013 10:30:05 +0100
Newsgroups gmane.linux.redhat.rpm.atrpms.devel
Message-ID <[email protected]>
On 17/05/13 22:05, John Pilkington wrote:
> On 17/05/13 20:35, Axel Thimm wrote:
>> Hi,
>>
>> thanks for the repost - on el6 both depmod and ldconfig are pulled
>> from the proper locations, in the last days I built tons of packages
>> and could not see the issue.
>>
>> There was an issue with f18 builds, but never with el6.
>>
>> Thanks, Axel.
>>
>> On Fri, May 17, 2013 at 10:34:58AM +0100, John Pilkington wrote:
>>> Hi Axel:  Welcome back.  I'm replying to the gossamer-threads
>>> version, so no thread.
>>>
>>> Copy of Stephen Collier's post on users' list, 9 April:
>>>
>>> The macro on line 79 of /etc/rpm/macros.atrpms doesn't seem to be
>>> working properly. Needed for F18 I guess. I have temporary changed
>>> it to build with /usr/sbin/ldconfig changed back to /sbin/ldconfig
>>> and same for depmod a few lines later.
>>>
>>> Cheers,
>>>
>>> John P
>>>
>
> I certainly saw this problem.  It looks as if 'our' target environments
> weren't being recognised as el6.  Mine was Scientific Linux, or perhaps
> CentOS.  Would be nice to fix it for future use, but not immediately
> critical if the 'official' builds are ok.
>

/etc/redhat-release  contains "Scientific Linux release 6.4 (Carbon)"

(without quotes), so it's not recognised in the first few lines of 
macros.atrpms and gets the Fedora 18 default?