SPECS: db1.spec - lib64 fix in install

qboosh qboosh at pld-linux.org
Fri Nov 18 20:17:13 CET 2005


Author: qboosh                       Date: Fri Nov 18 19:17:13 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- lib64 fix in install

---- Files affected:
SPECS:
   db1.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/db1.spec
diff -u SPECS/db1.spec:1.22 SPECS/db1.spec:1.23
--- SPECS/db1.spec:1.22	Fri Nov 18 20:11:37 2005
+++ SPECS/db1.spec	Fri Nov 18 20:17:08 2005
@@ -94,7 +94,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}/{include/db1,lib,bin}
+install -d $RPM_BUILD_ROOT{%{_includedir}/db1,%{_libdir},%{_bindir}}
 
 sed -n '/^\/\*-/,/^ \*\//s/^.\*.\?//p' include/db.h | grep -v '^@.*db\.h' > LICENSE
 
@@ -104,14 +104,14 @@
 install libdb.so.$sover		$RPM_BUILD_ROOT%{_libdir}/libdb1.so.$sover
 ln -sf libdb1.so.$sover 	$RPM_BUILD_ROOT%{_libdir}/libdb1.so
 ln -sf libdb1.so.$sover		$RPM_BUILD_ROOT%{_libdir}/libdb.so.$sover
-install ../include/ndbm.h	$RPM_BUILD_ROOT%{_includedir}/db1/
-install ../../include/db.h	$RPM_BUILD_ROOT%{_includedir}/db1/
-install ../../include/mpool.h	$RPM_BUILD_ROOT%{_includedir}/db1/
+install ../include/ndbm.h	$RPM_BUILD_ROOT%{_includedir}/db1
+install ../../include/db.h	$RPM_BUILD_ROOT%{_includedir}/db1
+install ../../include/mpool.h	$RPM_BUILD_ROOT%{_includedir}/db1
 install db_dump185		$RPM_BUILD_ROOT%{_bindir}/db1_dump185
 cd ../..
 
 %clean
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
 
 %post	-p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -119,8 +119,8 @@
 %files
 %defattr(644,root,root,755)
 %doc README LICENSE changelog
-%attr(755,root,root) %{_libdir}/libdb*.so.*
 %attr(755,root,root) %{_bindir}/db1_dump185
+%attr(755,root,root) %{_libdir}/libdb*.so.*
 
 %files devel
 %defattr(644,root,root,755)
@@ -138,6 +138,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2005/11/18 19:17:08  qboosh
+- lib64 fix in install
+
 Revision 1.22  2005/11/18 19:11:37  qboosh
 - updated URLs, strict internal deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/db1.spec?r1=1.22&r2=1.23&f=u




More information about the pld-cvs-commit mailing list