From e28a9fbb55e0ec6cd078e995998dbf264b65ba4db75e9bec4ef5291aa1ffdee5 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 13 Sep 2013 07:08:46 +0000 Subject: [PATCH] Avoid build require gpg-offline twice OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=179 --- util-linux.changes | 5 +++++ util-linux.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/util-linux.changes b/util-linux.changes index 116d88d..617a639 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 13 07:06:19 UTC 2013 - werner@suse.de + +- Avoid build require gpg-offline twice + ------------------------------------------------------------------- Wed Sep 11 20:54:24 CEST 2013 - sbrabec@suse.cz diff --git a/util-linux.spec b/util-linux.spec index 531a347..81e2fc2 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -21,15 +21,17 @@ %bcond_without enable_eject Name: util-linux -# Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run one-shot check by "xzcat util-linux-*.tar.xz | sh -x gpg-offline --verify --package=util-linux *.tar.sign -". -%if 0%{?VERIFY_SIG} -BuildRequires: gpg-offline -%endif BuildRequires: audit-devel BuildRequires: binutils-devel BuildRequires: fdupes BuildRequires: gettext-devel +# Use rpmbuild -D 'VERIFY_SIG 1' to verify signature during build or run +# one-shot check by +# xzcat util-linux-*.tar.xz | \ +# sh -x gpg-offline --verify --package=util-linux *.tar.sign - +%if 0%{?VERIFY_SIG} BuildRequires: gpg-offline +%endif BuildRequires: libselinux-devel BuildRequires: libsepol-devel BuildRequires: libtool