SPECS: gulm.spec - merged lib move to /%{_lib} from AC-branch

qboosh qboosh at pld-linux.org
Tue Jun 21 19:49:27 CEST 2005


Author: qboosh                       Date: Tue Jun 21 17:49:27 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merged lib move to /%{_lib} from AC-branch

---- Files affected:
SPECS:
   gulm.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/gulm.spec
diff -u SPECS/gulm.spec:1.3 SPECS/gulm.spec:1.4
--- SPECS/gulm.spec:1.3	Thu Apr 14 23:05:17 2005
+++ SPECS/gulm.spec	Tue Jun 21 19:49:22 2005
@@ -4,7 +4,7 @@
 Name:		gulm
 Version:	1.0
 %define	bver	pre26
-Release:	0.%{bver}.1
+Release:	0.%{bver}.2
 License:	GPL v2
 Group:		Libraries
 Source0:	http://people.redhat.com/cfeist/cluster/tgz/%{name}-%{version}-%{bver}.tar.gz
@@ -76,10 +76,15 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_lib}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+mv $RPM_BUILD_ROOT%{_libdir}/libgulm.so.*.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libgulm.so.*.*) \
+        $RPM_BUILD_ROOT%{_libdir}/libgulm.so
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -89,7 +94,7 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/*
-%attr(755,root,root) %{_libdir}/libgulm.so.*.*
+%attr(755,root,root) /%{_lib}/libgulm.so.*.*
 #%attr(754,root,root) /etc/rc.d/init.d/lock_gulmd
 %{_mandir}/man[58]/*
 
@@ -108,6 +113,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/06/21 17:49:22  qboosh
+- merged lib move to /%{_lib} from AC-branch
+
+Revision 1.3.2.1  2005/06/20 12:12:48  baggins
+- release 2
+- so libs moved to /lib (lvm2 req)
+
 Revision 1.3  2005/04/14 21:05:17  qboosh
 - updated to 1.0-pre26, use optflags
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gulm.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list