rpms/openafs-kmod/F-20 openafs-kmod.spec,1.60,1.61
Nicolas Chauvet
kwizart at gmail.com
Sat Apr 26 16:06:54 CEST 2014
Packagers, please avoid using a dedicated Release: field for the case of a
snapshot at all price.
This break the rebuild script (at the rpmdev-bumpspec step) because it
confuses the tool when the appropriate release field is in second position
whereas the first one was updated.
Instead try to use something like "if is defined" macro similar to the
%{?dist} one to handle the condition.
Here is an example:
2014-04-26 15:47 GMT+02:00 Nicolas Chauvet <kwizart at rpmfusion.org>:
>
> Version: 1.6.6
> -%if 0%{?pre}
> -Release: 0.%{pre}%{?dist}.2
> -%else
> -Release: 1%{?dist}
> -%endif
> +Release: %{?pre:0.}1%{?pre}%{?dist}.1
> Summary: Kernel module(s)
>
> Group: System Environment/Kernel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.rpmfusion.org/pipermail/rpmfusion-developers/attachments/20140426/0693bb2e/attachment.html>
More information about the rpmfusion-developers
mailing list