+- Verify GPG signature.

OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pcsc-lite?expand=0&rev=87
This commit is contained in:
2013-01-09 17:17:48 +00:00
committed by Git OBS Bridge
parent 426cd1ce14
commit c280129869
4 changed files with 52 additions and 0 deletions

View File

@@ -33,6 +33,9 @@ BuildRequires: libusb-1_0-devel
BuildRequires: systemd
%{?systemd_requires}
%endif
%if %suse_version >= 1220
BuildRequires: gpg-offline
%endif
Version: 1.8.7
Release: 0
Requires(pre): pwdutils
@@ -47,6 +50,8 @@ Source3: pre_checkin.sh
Source4: baselibs.conf
Source5: pcsc-lite-init
Source6: pcsc-lite-reader-conf
Source7: %{name}-%{version}.tar.bz2.asc
Source8: %{name}.keyring
Patch0: systemd-service.patch
Requires(post): %insserv_prereq %fillup_prereq
%if %suse_version > 1130
@@ -122,6 +127,9 @@ compile plugins for the pcsc-lite package.
%prep
%if 0%{?gpg_verify:1}
%gpg_verify %{S:7}
%endif
%setup -q
%patch0 -p1
cp -a %{S:1} %{S:2} %{S:5} %{S:6} .