[Fedora-packaging] Should release number (DistTag) agree between branches ?

Brad Bell bradbell at seanet.com
Wed Feb 4 13:58:01 UTC 2015


On 2/1/2015 8:49 AM, Michael Schwendt wrote:
> On Sun, 01 Feb 2015 08:03:00 -0700, Brad Bell wrote:
>
>> I have the case where the master (rawhide) has the following verison and
>> release
>>       Version: 20150000.4
>>       Release: 2%{?dist}
>> The other branches have not had any builds with this version of the
>> upstream source.
>>
>> It it correct to just merge the master into origin/f21 and then push as
>>       http://fedoraproject.org/wiki/Package_maintenance_guide
>> might be suggesting ?
>>
>> Perhaps I should change the release to
>>       Release: 1%{?dist}
>> and the log  from
>>       * Sun Feb 01 2015 Brad Bell <bradbell at seanet dot com> - 20150000.4-2
>> to
>>       * Sun Feb 01 2015 Brad Bell <bradbell at seanet dot com> - 20150000.4-1
> Why would you want to do that? The %dist macro is not there without
> reason. It ensures that the build for an older branch is _lower_ than
> the build for newer branches. If you need to touch/update only an
> old branch, notice:
>
>    https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Minor_release_bumps_for_old_branches
>
> Else, the Dist Tag guidelines are these:
> https://fedoraproject.org/wiki/Packaging:NamingGuidelines#The_.25.7B.3Fdist.7D_Tag
>
1. If I used a higher dist (same version) number in f20, then it should 
also work in f21 ?

2. Where does el6 fit in the order relative to f20 ?



More information about the packaging mailing list