From daa37d9c6053bf1ac05db76c0df6fb45da5a96f34456636797e7774550591e81 Mon Sep 17 00:00:00 2001 From: Michal Vyskocil Date: Tue, 18 Dec 2012 09:34:59 +0000 Subject: [PATCH] - Require gpg-offline on 12.2+ OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=13 --- tomcat.changes | 5 +++++ tomcat.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/tomcat.changes b/tomcat.changes index b5d8ef3..8847923 100644 --- a/tomcat.changes +++ b/tomcat.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 18 09:34:29 UTC 2012 - mvyskocil@suse.com + +- Require gpg-offline on 12.2+ + ------------------------------------------------------------------- Thu Nov 29 19:17:03 CET 2012 - sbrabec@suse.cz diff --git a/tomcat.spec b/tomcat.spec index d975490..aee0ded 100644 --- a/tomcat.spec +++ b/tomcat.spec @@ -88,7 +88,9 @@ BuildRequires: ecj >= 3.2.2 BuildRequires: fdupes BuildRequires: findutils BuildRequires: geronimo-jaf-1_0_2-api +%if 0%{?suse_version} >= 1220 BuildRequires: gpg-offline +%endif BuildRequires: jakarta-commons-collections BuildRequires: jakarta-commons-daemon BuildRequires: jakarta-commons-dbcp @@ -247,7 +249,11 @@ The ROOT and examples web applications for Apache Tomcat %prep + +%if 0%{?suse_version} >= 1220 %gpg_verify %{S:1001} +%endif + %setup -q -n %{packdname} # remove pre-built binaries and windows files find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name "*.gz" -o \