rpms/cryptsetup-luks/devel cryptsetup-luks.spec,1.42,1.43

Till Maas (till) fedora-extras-commits at redhat.com
Wed Aug 8 10:52:51 UTC 2007


Author: till

Update of /cvs/pkgs/rpms/cryptsetup-luks/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1458

Modified Files:
	cryptsetup-luks.spec 
Log Message:
move libcryptsetup.so to %{_libdir} instead of /%{_lib}



Index: cryptsetup-luks.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cryptsetup-luks/devel/cryptsetup-luks.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- cryptsetup-luks.spec	1 Aug 2007 17:15:45 -0000	1.42
+++ cryptsetup-luks.spec	8 Aug 2007 10:52:16 -0000	1.43
@@ -46,8 +46,15 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 rm -rf  $RPM_BUILD_ROOT/%{_lib}/*.la $RPM_BUILD_ROOT/%{_lib}/cryptsetup
 
+# move libcryptsetup.so to %{_libdir}
+pushd $RPM_BUILD_ROOT/%{_lib}
+rm libcryptsetup.so
+mkdir -p $RPM_BUILD_ROOT/%{_libdir}
+ln -s ../../%{_lib}/$(ls libcryptsetup.so.?.?.?) $RPM_BUILD_ROOT/%{_libdir}/libcryptsetup.so
+popd 
 %find_lang cryptsetup
 
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
@@ -55,21 +62,22 @@
 %files -f cryptsetup.lang
 %defattr(-,root,root,-)
 %doc COPYING ChangeLog AUTHORS INSTALL NEWS README TODO
-%{_mandir}/man*/*
-/sbin/*
-/%{_lib}/lib*.so.*
+%{_mandir}/man8/cryptsetup.8.gz
+/sbin/cryptsetup
+/%{_lib}/libcryptsetup.so.*
+
 
 %files devel
 %defattr(-,root,root,-)
-%{_includedir}/*
-/%{_lib}/lib*.so
-
+%{_includedir}/libcryptsetup.h
+%{_libdir}/libcryptsetup.so
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
-* Wed Aug 1 2007 Till Maas <opensource till name> - 1.0.5-4
+* Wed Aug 08 2007 Till Maas <opensource till name> - 1.0.5-4
 - disable patch2, libsepol is now detected by configure
+- move libcryptsetup.so to %%{_libdir} instead of /%%{_lib}
 
 * Fri Jul 27 2007 Till Maas <opensource till name> - 1.0.5-3
 - Use /%%{_lib} instead of /lib to use /lib64 on 64bit archs




More information about the fedora-extras-commits mailing list