diff --git a/parkverbot.changes b/parkverbot.changes index ee4cc1a..fe91a10 100644 --- a/parkverbot.changes +++ b/parkverbot.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 23 16:54:21 UTC 2014 - jengelh@inai.de + +- Drop gpg-offline build-time requirement; this is now handled by + the local source validator + ------------------------------------------------------------------- Thu Jan 31 00:40:00 UTC 2013 - jengelh@inai.de diff --git a/parkverbot.spec b/parkverbot.spec index 2ccf41f..2e3f67d 100644 --- a/parkverbot.spec +++ b/parkverbot.spec @@ -1,7 +1,7 @@ # # spec file for package parkverbot # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,18 +29,17 @@ Group: System/Base Source: %name-%version.tar.xz Source2: %name-%version.tar.xz.asc Source3: %name.keyring -#BuildRequires: autoconf >= 2.60, automake >= 1.10 -%if 0%{?suse_version} > 1220 -BuildRequires: gpg-offline -%endif BuildRequires: pkgconfig >= 0.23 BuildRequires: xz -%if 0%{?sles_version} +%if 0%{?suse_version} && 0%{?suse_version} < 1130 BuildRequires: libHX-devel >= 3.12 %else BuildRequires: pkgconfig(libHX) >= 3.12 %endif -%if 0%{?suse_version} >= 1220 +%if 0%{?suse_version} >= 1310 +BuildRequires: systemd-rpm-macros +%endif +%if 0%{?suse_version} >= 1220 && 0%{?suse_version} < 1310 BuildRequires: systemd %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,9 +56,6 @@ order to keep the hardware from going to its head-unloaded idle state. %prep -%if 0%{?gpg_verify:1} -%gpg_verify %{S:2} -%endif %setup -q %build @@ -76,7 +72,7 @@ make install DESTDIR="%buildroot"; %defattr(-,root,root) %_sbindir/parkverbot %_mandir/man*/parkverbot* -%if %{?_unitdir:1} +%if 0%{?_unitdir:1} %_unitdir/parkverbot@.service %_unitdir/parkverbot.service %endif