SPECS: device-mapper.spec - avoid libdevmapper.so being pointing t...

glen glen at pld-linux.org
Tue May 16 22:23:11 CEST 2006


Author: glen                         Date: Tue May 16 20:23:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- avoid libdevmapper.so being pointing to libdevmapper-event.so.1.02
- and one subshell less

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

---- Diffs:

================================================================
Index: SPECS/device-mapper.spec
diff -u SPECS/device-mapper.spec:1.51 SPECS/device-mapper.spec:1.52
--- SPECS/device-mapper.spec:1.51	Tue May 16 22:12:06 2006
+++ SPECS/device-mapper.spec	Tue May 16 22:23:06 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.1
+Release:	0.3
 License:	GPL v2
 Group:		Applications/System
 Source0:	ftp://sources.redhat.com/pub/dm/%{name}.%{version}.tgz
@@ -164,7 +164,7 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-SONAME=$(basename $(ls -1 $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*))
+SONAME=$(cd $RPM_BUILD_ROOT%{_libdir}; echo libdevmapper.so.*.*)
 ln -sf /%{_lib}/${SONAME} $RPM_BUILD_ROOT%{_libdir}/libdevmapper.so
 mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* $RPM_BUILD_ROOT/%{_lib}
 install scripts/* $RPM_BUILD_ROOT/%{_libdir}/%{name}
@@ -218,6 +218,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+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
+
 Revision 1.51  2006/05/16 20:12:06  glen
 - disable configure_cache as configure is ran twice with different CFLAGS
 
================================================================

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



More information about the pld-cvs-commit mailing list