4 Dec
2012
4 Dec
'12
14:22
On Monday 2012-12-03 20:33, Stanislav Brabec wrote:
Example:
Source2. %{name}.keyring +%if 0%{?suse_version} > 1220 BuildRequires: gpg-offline +%endif
... %prep +%if 0%{?suse_version} > 1220 %gpg_verify %{S:1} +%endif %setup -q
%prep %if 0%{?gpg_verify:1} %gpg_verify %{S:whateverthesigfile} %endif ... And I prefer >= ("starting from") over > ("newer than"), since - remember - 1221 can come after 1220. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org