[CentOS-devel] dist tag in rebuild SRPM

Johnny Hughes

johnny at centos.org
Wed Jul 16 14:10:18 UTC 2014


On 07/16/2014 08:54 AM, Manuel Wolfshant wrote:
> On 07/16/2014 04:41 PM, Johnny Hughes wrote:
>> upstream has, which can be any number of things.  So that means every
>> single package has to have its dist tag checked.  This is nothing new,
>> it has been around and the policy since the beginning of CentOS-4.
> the change in centos-release to default to .elN.centos instead of .elN 
> is "new", relatively speaking ( *). and makes life a bit awkward for 
> those who want to recompile a src.rpm and end with .el7.centos instead 
> of .el as release tag
>
> *  it appeared in C6, sometime last year. there was a mail thread on that

That is true ..  what the default is could be different, but all the
other parts ... Multiple dist tags used, is true for all versions of
centos and rhel.  So, each package, if you are building from SRPMS from
either RHEL or CentOS, needs to have its dist tag found individually if
you want to match upstream.

The default is not normally the tag used unless it happens to be a point
release (by upstream) ... most errata releases between point releases
will be ,el7_0 or .el5_10, etc.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140716/a9664384/attachment-0003.sig>


More information about the CentOS-devel mailing list