diff --git a/posixovl.spec b/posixovl.spec index a8ba7e8..e0a4708 100644 --- a/posixovl.spec +++ b/posixovl.spec @@ -25,13 +25,15 @@ Group: System/Filesystems Url: http://posixovl.sf.net/ Source: %name-%version.tar.xz -Source1: %name-%version.tar.xz.asc +Source2: %name-%version.tar.xz.asc # Next version should be signed with a new key. Use "gpg-offline --package=posixovl --delete 844C4360" then. -Source2: %name.keyring +Source3: %name.keyring BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf >= 2.61 BuildRequires: automake >= 1.9 +%if 0%{?suse_version} >= 1230 BuildRequires: gpg-offline +%endif BuildRequires: libattr-devel BuildRequires: pkgconfig BuildRequires: xz @@ -47,7 +49,7 @@ Author: Jan Engelhardt %prep -%gpg_verify %{S:1} +%{?gpg_verify: %gpg_verify %{S:2}} %setup -qn %name %build