From 257c78135f5b80ba2ceaa1b439b84713eb1a771fb034471479a1ce62d16959e8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 9 Dec 2012 22:37:49 +0000 Subject: [PATCH] Only use gpg-offline for openSUSE >= 12.3 OBS-URL: https://build.opensuse.org/package/show/filesystems/posixovl?expand=0&rev=9 --- posixovl.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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