SPECS: device-mapper.spec - install real libdevmapper.a, not some ...

glen glen at pld-linux.org
Tue May 16 22:36:21 CEST 2006


Author: glen                         Date: Tue May 16 20:36:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- install real libdevmapper.a, not some manually partially assembed one

---- Files affected:
SPECS:
   device-mapper.spec (1.52 -> 1.53) 

---- Diffs:

================================================================
Index: SPECS/device-mapper.spec
diff -u SPECS/device-mapper.spec:1.52 SPECS/device-mapper.spec:1.53
--- SPECS/device-mapper.spec:1.52	Tue May 16 22:23:06 2006
+++ SPECS/device-mapper.spec	Tue May 16 22:36:16 2006
@@ -8,7 +8,7 @@
 Summary(pl):	Wsparcie dla mapowania urządzeń w przestrzeni użytkownika
 Name:		device-mapper
 Version:	1.02.05
-Release:	0.3
+Release:	0.4
 License:	GPL v2
 Group:		Applications/System
 Source0:	ftp://sources.redhat.com/pub/dm/%{name}.%{version}.tgz
@@ -154,9 +154,6 @@
 	--disable-klibc
 %{__make}
 
-ar cru libdevmapper.a lib/ioctl/*.o lib/*.o
-ranlib libdevmapper.a
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/{%{_lib},%{_libdir}/%{name},/usr/{%{_lib},include}/klibc}
@@ -169,7 +166,7 @@
 mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* $RPM_BUILD_ROOT/%{_lib}
 install scripts/* $RPM_BUILD_ROOT/%{_libdir}/%{name}
 
-install libdevmapper.a $RPM_BUILD_ROOT%{_libdir}
+install lib/ioctl/libdevmapper.a $RPM_BUILD_ROOT%{_libdir}
 %{?with_initrd:install initrd-dmsetup $RPM_BUILD_ROOT%{_sbindir}}
 %{?with_initrd:install initrd-libdevmapper.a $RPM_BUILD_ROOT/usr/%{_lib}/klibc/libdevmapper.a}
 %{?with_initrd:install include/libdevmapper.h $RPM_BUILD_ROOT/usr/include/klibc}
@@ -218,6 +215,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.53  2006/05/16 20:36:16  glen
+- install real libdevmapper.a, not some manually partially assembed one
+
 Revision 1.52  2006/05/16 20:23:06  glen
 - avoid libdevmapper.so being pointing to libdevmapper-event.so.1.02
 - and one subshell less
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/device-mapper.spec?r1=1.52&r2=1.53&f=u



More information about the pld-cvs-commit mailing list