fo gpg verification on 12.3+

OBS-URL: https://build.opensuse.org/package/show/M17N/groff?expand=0&rev=41
This commit is contained in:
Michal Vyskocil 2013-05-09 09:44:41 +00:00 committed by Git OBS Bridge
parent 43a6d59994
commit f3a219923d
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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