fix build for older dists

OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pcsc-lite?expand=0&rev=33
This commit is contained in:
Wolfgang Rosenauer
2010-12-21 20:21:22 +00:00
committed by Git OBS Bridge
parent e1d0c0e626
commit 5b98dde807
3 changed files with 11 additions and 95 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package pcsc-lite (Version 1.5.5)
# spec file for package pcsc-lite (Version 1.6.5)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -24,7 +24,7 @@ Name: pcsc-lite
BuildRequires: hal-devel pkg-config readline-devel
Version: 1.6.5
Release: 2
PreReq: %{insserv_prereq} %{fillup_prereq} sysvinit(syslog)
PreReq: %{insserv_prereq} %{fillup_prereq}
Group: Productivity/Security
License: BSD3c(or similar)
Url: http://pcsclite.alioth.debian.org/
@@ -36,6 +36,9 @@ Source3: pre_checkin.sh
Source4: baselibs.conf
Source5: rcpcscd
Requires: libpcsclite1 >= %{version}
%if %suse_version > 1130
Requires: sysvinit(syslog)
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -56,15 +59,6 @@ an APDU like manner sent normally through the SCardTransmit() function.
This functionality is exercised in the driver.
Authors:
--------
David Corcoran <corcoran@linuxnet.com>
Ludovic Rousseau <ludovic.rousseau@free.fr>
Damien Sauveron <sauveron@labri.fr>
Carlos Prados <cprados@yahoo.com>
Antti Tapaninen <aet@cc.hut.fi>
%package -n libpcsclite1
License: BSD3c(or similar)
Group: System/Libraries
@@ -88,15 +82,6 @@ an APDU like manner sent normally through the SCardTransmit() function.
This functionality is exercised in the driver.
Authors:
--------
David Corcoran <corcoran@linuxnet.com>
Ludovic Rousseau <ludovic.rousseau@free.fr>
Damien Sauveron <sauveron@labri.fr>
Carlos Prados <cprados@yahoo.com>
Antti Tapaninen <aet@cc.hut.fi>
%package devel
License: BSD3c(or similar)
Group: Development/Libraries/C and C++
@@ -108,15 +93,6 @@ This package contains the development files for pcsc-lite. It allows to
compile plugins for the pcsc-lite package.
Authors:
--------
David Corcoran <corcoran@linuxnet.com>
Ludovic Rousseau <ludovic.rousseau@free.fr>
Damien Sauveron <sauveron@labri.fr>
Carlos Prados <cprados@yahoo.com>
Antti Tapaninen <aet@cc.hut.fi>
%prep
%setup -q
cp -a %{S:1} %{S:2} .