Sender: |
|
Date: |
Tue, 27 Dec 2011 10:22:45 -0600 |
Reply-To: |
|
Content-Transfer-Encoding: |
7bit |
Content-Type: |
text/plain; charset="UTF-8"; format=flowed |
Subject: |
|
From: |
|
MIME-Version: |
1.0 |
In-Reply-To: |
|
Organization: |
Fermilab |
Comments: |
|
Parts/Attachments: |
|
|
On 12/23/2011 10:11 AM, Nelson Marques wrote:
> Hi all,
>
> I would like to bring into your consideration an issue that appeared
> to me on CentOS and that might also appear on SL (I haven't tested it,
> only next week after Christmas I have some time to check out). It can
> be that there is no issue with SL, though I believe that it won't be
> the case.
>
> The package 'redhat-rpm-config' places a shell script called 'dist.sh'
> on /usr/lib/rpm/redhat. This script is used by some macro's to
> determine the correct suffix when generating a package (el5, el6,
> fc16, etc). This script can be run with arguments which should return
> values, for example:
>
> $/usr/lib/rpm/redhat/dist.sh --dist # should return el6 on
> Enterprise Linux 6.
> $/usr/lib/rpm/redhat/dist.sh --disttype # should return el
> $/usr/lib/rpm/redhat/dist.sh --distnum # should return 6 on
> Enterprise Linux 6.
>
> redhat-rpm-config on CentOS6 doesn't properly return --disttype and
> --dist. I have opened a bug on CentOS bugzilla
> (http://bugs.centos.org/view.php?id=5331&nbn=2).
>
> In case you want to check this situation on Scientific Linux, could be
> interesting. While I don't run on product SL or CentOS (only use pure
> RHEL), I find it easier to build my packages with mock or openSUSE
> Build System on CentOS or Scientific Linux. This bug prevents that the
> 'el6' suffix gets on the package name.
>
> Hope this helps.
>
> NM
Hi Nelson!
Thanks for this. SL6.2 does have this issue. I'm going to start
working on a fix and get this need for a fix noted in or processes so,
hopefully, it will always be fixed going forward.
Pat
--
Pat Riehecky
Scientific Linux Developer
|
|
|