- changed opensc-pkcs11 location (in libdir patch), added segv patch
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 21 Jul 2004 11:09:29 +0000 (11:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opensc.spec -> 1.25

opensc.spec

index 41c208ee144a80737a198ccba6396145311fc13c..9546d2a2a6be0bdd08076d6305a383f8be88df26 100644 (file)
@@ -10,6 +10,7 @@ Source0:      http://www.opensc.org/files/%{name}-%{version}.tar.gz
 # Source0-md5: 2b64a8e629bd28a00e707e35fd3eb9c7
 Patch0:                %{name}-libdir.patch
 Patch1:                %{name}-shared-ssl.patch
+Patch2:                %{name}-segv.patch
 URL:           http://www.opensc.org/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
@@ -107,6 +108,7 @@ Wtyczka OpenSC Signer dla Mozilli.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -139,7 +141,7 @@ mv -f $RPM_BUILD_ROOT%{_sysconfdir}/opensc.conf{.example,}
 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/scldap.conf{.example,}
 
 # useless (dlopened by *.so)
-rm -f $RPM_BUILD_ROOT%{_libdir}/libscam.{a,la} \
+rm -f $RPM_BUILD_ROOT%{_libdir}/{libscam,opensc-*}.{a,la} \
        $RPM_BUILD_ROOT%{_libdir}/opensc/*.{a,la} \
        $RPM_BUILD_ROOT%{_libdir}/pkcs11/*.{a,la} \
        $RPM_BUILD_ROOT/%{_lib}/security/pam_opensc.{a,la}
@@ -161,8 +163,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/pkcs15-*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 %attr(755,root,root) %{_libdir}/libscam.so
+%attr(755,root,root) %{_libdir}/opensc-pkcs11.so
 %dir %{_libdir}/pkcs11
-%attr(755,root,root) %{_libdir}/pkcs11/opensc-pkcs11.so
 %attr(755,root,root) %{_libdir}/pkcs11/pkcs11-spy.so
 %dir %{_libdir}/opensc
 %attr(755,root,root) %{_libdir}/opensc/engine_opensc.so
This page took 0.081159 seconds and 4 git commands to generate.