Re: Fedora 21 Mass rebuild update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 8 Jun 2014 12:37:00 -0600, Kevin Fenzi wrote:

> lvm2's spec isn't very friendly to the rpmdev-bumpspec script that the
> mass rebuild uses, so it is a bit messed up. They seem to redefine
> 'release' for every subpackage and the bumpspec script tries to
> increment all of them and the versions then don't match up. 

Current upstream version [1] would handle it, if %release were defined
like this:

  %global release 4%{?dist}

  Release: %{release}

Then the script doesn't touch the subpackage Release tags anymore,
because it considers this (and %baserelease found in very old Fedora spec
files) a special case.

Redefining %release in subpackage Release tags using the %release macro
makes no sense and is error-prone, too, because if it defined a different
release value actually, that would change the value of %release for the rest
of the spec file and bears of a risk of referring to the wrong value in
manual Requires, Provides, …

There are only a very few spec files at Fedora that do things like that
or apply macro-madness.

[1] https://git.fedorahosted.org/cgit/rpmdevtools.git/plain/rpmdev-bumpspec
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux