Accepting request 79473 from home:bruno_friedmann:branches:security:chipcard

Readd if structure for older version, as asked in 79452, SLES11 build now

OBS-URL: https://build.opensuse.org/request/show/79473
OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pcsc-lite?expand=0&rev=58
This commit is contained in:
Wolfgang Rosenauer 2011-08-22 09:31:30 +00:00 committed by Git OBS Bridge
parent 711796a0ed
commit f4505c9de0
3 changed files with 16 additions and 4 deletions

View File

@ -15,9 +15,9 @@
# Provides: pcscd
# Required-Start: $local_fs $remote_fs $syslog
# Required-Stop: $local_fs $remote_fs $syslog
# Should-Start: udev hal openct
# Should-Stop: udev hal openct
# Default-Start: 2 3 4 5
# Should-Start: udev openct
# Should-Stop: udev openct
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Daemon to access a smart card using PC/SC
# Description: The PC/SC smart card daemon is a resource manager for the
@ -37,7 +37,7 @@ umask 077
exec=/usr/sbin/pcscd
prog=$(basename $exec)
lockfile=/var/lock/subsys/$prog
lockfile=/var/lock/$prog
PCSCD_OPTIONS=
# Source config

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Aug 22 08:27:55 UTC 2011 - bruno@ioda-net.ch
- Readd if structure to support older versions like evergreen & SLES 11
-------------------------------------------------------------------
Sun Aug 21 12:48:11 UTC 2011 - bruno@ioda-net.ch
- Fixed runlevel, hal, and /var/lock/subsys
-------------------------------------------------------------------
Thu Jun 23 17:10:58 UTC 2011 - wr@rosenauer.org

View File

@ -23,6 +23,7 @@ Name: pcsc-lite
%define ifddir %{_libdir}/readers
BuildRequires: pkg-config readline-devel
%if %suse_version >= 1120
#shouldn't be found automagically ?
BuildRequires: libudev-devel
%endif
%if %suse_version == 1110
@ -46,6 +47,7 @@ Source3: pre_checkin.sh
Source4: baselibs.conf
Source5: pcsc-lite-init
Source6: pcsc-lite-reader-conf
#Is not really used just keep in case off
Patch0: disable-power-off.diff
%if %suse_version > 1130
PreReq: sysvinit(syslog)