From f3a219923de0f9859db76166725a4ee044220a6b178e985cea21bf468e96250d Mon Sep 17 00:00:00 2001 From: Michal Vyskocil Date: Thu, 9 May 2013 09:44:41 +0000 Subject: [PATCH] fo gpg verification on 12.3+ OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=41 --- groff-full.spec | 4 ++++ groff.spec | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/groff-full.spec b/groff-full.spec index e6bb035..4b31626 100644 --- a/groff-full.spec +++ b/groff-full.spec @@ -68,7 +68,9 @@ BuildRequires: makeinfo Recommends: groff-full %else BuildRequires: ghostscript-library +%if 0%{suse_version} > 1220 BuildRequires: gpg-offline +%endif BuildRequires: groff BuildRequires: netpbm BuildRequires: psutils @@ -143,9 +145,11 @@ the -X option. %prep %if ! %{groff_base_only} +%if 0%{suse_version} > 1220 # we do a verification on non-base package in order to not add more dependencies to Base:build ... %gpg_verify %{SOURCE1} %endif +%endif %setup -q -n groff-%{version} %patch0 -p1 -b .debian diff --git a/groff.spec b/groff.spec index 14281ff..6e41f5b 100644 --- a/groff.spec +++ b/groff.spec @@ -67,7 +67,9 @@ BuildRequires: makeinfo Recommends: groff-full %else BuildRequires: ghostscript-library +%if 0%{suse_version} > 1220 BuildRequires: gpg-offline +%endif BuildRequires: groff BuildRequires: netpbm BuildRequires: psutils @@ -142,9 +144,11 @@ the -X option. %prep %if ! %{groff_base_only} +%if 0%{suse_version} > 1220 # we do a verification on non-base package in order to not add more dependencies to Base:build ... %gpg_verify %{SOURCE1} %endif +%endif %setup -q -n groff-%{version} %patch0 -p1 -b .debian