- fixed libdirs (to be lib64-aware)
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 22 Jun 2004 15:06:15 +0000 (15:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opensc.spec -> 1.23

opensc.spec

index 9b411605d5c8f564a71fb57df3324c7a04e8cb4b..23c89c15f4dc92e8c748f3fe3a38d6596cd6b47a 100644 (file)
@@ -25,7 +25,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # datadir is used for config files and (editable) profiles
 %define                _datadir        %{_sysconfdir}
-%define                mozplugindir    /usr/lib/mozilla/plugins
+%define                mozplugindir    /usr/%{_lib}/mozilla/plugins
 
 %description
 libopensc is a library for accessing SmartCard devices using PC/SC
@@ -125,8 +125,8 @@ install -d $RPM_BUILD_ROOT%{mozplugindir}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/lib
-mv -f $RPM_BUILD_ROOT%{_libdir}/security $RPM_BUILD_ROOT/lib
+install -d $RPM_BUILD_ROOT/%{_lib}
+mv -f $RPM_BUILD_ROOT%{_libdir}/security $RPM_BUILD_ROOT/%{_lib}
 
 # just install instead of symlinking
 rm -f $RPM_BUILD_ROOT%{mozplugindir}/opensc-signer.so
@@ -140,7 +140,7 @@ mv -f $RPM_BUILD_ROOT%{_datadir}/opensc/scldap.conf{.example,}
 rm -f $RPM_BUILD_ROOT%{_libdir}/libscam.{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}
+       $RPM_BUILD_ROOT/%{_lib}/security/pam_opensc.{a,la}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -194,7 +194,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n pam-pam_opensc
 %defattr(644,root,root,755)
-%attr(755,root,root) /lib/security/pam_opensc.so
+%attr(755,root,root) /%{_lib}/security/pam_opensc.so
 
 %files -n mozilla-plugin-opensc
 %defattr(644,root,root,755)
This page took 0.048656 seconds and 4 git commands to generate.