SPECS (AC-branch): dlm.spec - release 2 - so libs moved to /lib (l...
baggins
baggins at pld-linux.org
Mon Jun 20 14:09:44 CEST 2005
Author: baggins Date: Mon Jun 20 12:09:44 2005 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- release 2
- so libs moved to /lib (lvm2 req)
---- Files affected:
SPECS:
dlm.spec (1.10 -> 1.10.2.1)
---- Diffs:
================================================================
Index: SPECS/dlm.spec
diff -u SPECS/dlm.spec:1.10 SPECS/dlm.spec:1.10.2.1
--- SPECS/dlm.spec:1.10 Thu Apr 14 21:15:32 2005
+++ SPECS/dlm.spec Mon Jun 20 14:09:39 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,18 +99,18 @@
%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)
%doc doc/*.txt
-%attr(755,root,root) %{_libdir}/libdlm*.so
+%attr(755,root,root) %{_libdir}/libdlm.so
%{_includedir}/libdlm.h
%{_includedir}/cluster
%files static
%defattr(644,root,root,755)
-%{_libdir}/libdlm*.a
+%{_libdir}/libdlm.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -109,6 +118,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+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.10.2.1&f=u
More information about the pld-cvs-commit
mailing list