- invert openct bcond, it is not usable, old and segfaults auto/th/opensc-0_12_0-2
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 16 Mar 2011 23:05:25 +0000 (23:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- see also http://www.opensc-project.org/pipermail/opensc-announce/2010-December/000033.html

Changed files:
    opensc.spec -> 1.72

opensc.spec

index 3b5d88ece4e1ccbe3c9fd666c32d3a2de2afa858..1d36d2d1d2009c0834fffb45d3b71bd62f6a26b1 100644 (file)
@@ -1,12 +1,12 @@
 #
 # Conditional build:
-%bcond_without openct  # use PCSC directly, without OpenCT support
-#
+%bcond_with            openct  # use PCSC directly, without OpenCT support
+
 Summary:       OpenSC library - for accessing SmartCard devices using PC/SC Lite
 Summary(pl.UTF-8):     Biblioteka OpenSC - do korzystania z kart procesorowych przy użyciu PC/SC Lite
 Name:          opensc
 Version:       0.12.0
-Release:       1
+Release:       2
 Epoch:         0
 License:       LGPL v2.1+
 Group:         Applications
@@ -102,8 +102,7 @@ Skrypty dla initramfs-tools ze wsparciem dla OpenSC.
 
 %prep
 %setup -q
-
-install %{SOURCE4} README.initramfs
+cp -p %{SOURCE4} README.initramfs
 
 %build
 %{__libtoolize}
@@ -122,17 +121,18 @@ install %{SOURCE4} README.initramfs
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/{hooks,scripts/local-{bottom,top}}
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/opensc
-install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/scripts/local-bottom/opensc
-install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/scripts/local-top/opensc
+install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/opensc
+install -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/scripts/local-bottom/opensc
+install -p %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/scripts/local-top/opensc
 
 # not needed (dlopened by soname)
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/{onepin-opensc-pkcs11,opensc-pkcs11,pkcs11-spy}.la
 
+rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.111129 seconds and 4 git commands to generate.