SPECS: dlm.spec - merged libs move to /%{_lib} from AC-branch - pa...

qboosh qboosh at pld-linux.org
Tue Jun 21 18:19:37 CEST 2005


Author: qboosh                       Date: Tue Jun 21 16:19:37 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merged libs move to /%{_lib} from AC-branch
- package missing libdlm_lt .so symlink and static library

---- Files affected:
SPECS:
   dlm.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/dlm.spec
diff -u SPECS/dlm.spec:1.10 SPECS/dlm.spec:1.11
--- SPECS/dlm.spec:1.10	Thu Apr 14 21:15:32 2005
+++ SPECS/dlm.spec	Tue Jun 21 18:19:32 2005
@@ -4,7 +4,7 @@
 Name:		dlm
 %define	_pre	pre21
 Version:	1.0
-Release:	0.%{_pre}.1
+Release:	0.%{_pre}.2
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://people.redhat.com/cfeist/cluster/tgz/%{name}-%{version}-%{_pre}.tar.gz
@@ -75,6 +75,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_lib}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -82,6 +83,14 @@
 install -d $RPM_BUILD_ROOT%{_includedir}/cluster
 install include/cluster/*.h $RPM_BUILD_ROOT%{_includedir}/cluster
 
+mv $RPM_BUILD_ROOT%{_libdir}/libdlm.so.*.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libdlm.so.*.*) \
+        $RPM_BUILD_ROOT%{_libdir}/libdlm.so
+
+mv $RPM_BUILD_ROOT%{_libdir}/libdlm_lt.so.*.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libdlm_lt.so.*.*) \
+        $RPM_BUILD_ROOT%{_libdir}/libdlm_lt.so
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -90,7 +99,7 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libdlm*.so.*.*
+%attr(755,root,root) /%{_lib}/libdlm*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
@@ -109,6 +118,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/06/21 16:19:32  qboosh
+- merged libs move to /%{_lib} from AC-branch
+- package missing libdlm_lt .so symlink and static library
+
+Revision 1.10.2.1  2005/06/20 12:09:39  baggins
+- release 2
+- so libs moved to /lib (lvm2 req)
+
 Revision 1.10  2005/04/14 19:15:32  qboosh
 - lib License is LGPL v2+, more verbose files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dlm.spec?r1=1.10&r2=1.11&f=u




More information about the pld-cvs-commit mailing list