SPECS: xfsprogs.spec - rel 5 - install initrd programs in _libdir/initrd - ...

baggins baggins at pld-linux.org
Sun Mar 22 23:49:34 CET 2009


Author: baggins                      Date: Sun Mar 22 22:49:34 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 5
- install initrd programs in _libdir/initrd
- verbose files

---- Files affected:
SPECS:
   xfsprogs.spec (1.121 -> 1.122) 

---- Diffs:

================================================================
Index: SPECS/xfsprogs.spec
diff -u SPECS/xfsprogs.spec:1.121 SPECS/xfsprogs.spec:1.122
--- SPECS/xfsprogs.spec:1.121	Thu Mar 19 23:01:30 2009
+++ SPECS/xfsprogs.spec	Sun Mar 22 23:49:29 2009
@@ -8,7 +8,7 @@
 Summary(pl.UTF-8):	Narzędzia do systemu plików XFS
 Name:		xfsprogs
 Version:	3.0.0
-Release:	4
+Release:	5
 License:	LGPL v2.1 (libhandle), GPL v2 (the rest)
 Group:		Applications/System
 Source0:	ftp://linux-xfs.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz
@@ -147,12 +147,13 @@
 %{__make} -j1 db growfs logprint mkfs mdrestore repair \
 	LDFLAGS="%{rpmldflags} -all-static"
 
-mv -f db/xfs_db initrd-xfs_db
-mv -f growfs/xfs_growfs initrd-xfs_growfs
-mv -f logprint/xfs_logprint initrd-xfs_logprint
-mv -f mkfs/mkfs.xfs initrd-mkfs.xfs
-mv -f mdrestore/xfs_mdrestore initrd-xfs_mdrestore
-mv -f repair/xfs_repair initrd-xfs_repair
+mkdir -p initrd
+mv -f db/xfs_db initrd/xfs_db
+mv -f growfs/xfs_growfs initrd/xfs_growfs
+mv -f logprint/xfs_logprint initrd/xfs_logprint
+mv -f mkfs/mkfs.xfs initrd/mkfs.xfs
+mv -f mdrestore/xfs_mdrestore initrd/xfs_mdrestore
+mv -f repair/xfs_repair initrd/xfs_repair
 
 %if %{with dietlibc}
 sed -i -e 's|^dnl AC_PACKAGE_NEED_AIO_H|AC_PACKAGE_NEED_AIO_H|' \
@@ -204,12 +205,8 @@
 	$RPM_BUILD_ROOT%{_libexecdir}/libxlog.la
 
 %if %{with initrd}
-install initrd-xfs_db $RPM_BUILD_ROOT%{_sbindir}
-install initrd-xfs_growfs $RPM_BUILD_ROOT%{_sbindir}
-install initrd-xfs_logprint $RPM_BUILD_ROOT%{_sbindir}
-install initrd-mkfs.xfs $RPM_BUILD_ROOT%{_sbindir}
-install initrd-xfs_mdrestore $RPM_BUILD_ROOT%{_sbindir}
-install initrd-xfs_repair $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT%{_libexecdir}/initrd
+install initrd/* $RPM_BUILD_ROOT%{_libexecdir}/initrd/
 %endif
 
 %find_lang %{name}
@@ -278,7 +275,12 @@
 %if %{with initrd}
 %files initrd
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/initrd-*
+%attr(755,root,root) %{_libexecdir}/initrd/mkfs.xfs
+%attr(755,root,root) %{_libexecdir}/initrd/xfs_db
+%attr(755,root,root) %{_libexecdir}/initrd/xfs_growfs
+%attr(755,root,root) %{_libexecdir}/initrd/xfs_logprint
+%attr(755,root,root) %{_libexecdir}/initrd/xfs_mdrestore
+%attr(755,root,root) %{_libexecdir}/initrd/xfs_repair
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -287,6 +289,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.122  2009/03/22 22:49:29  baggins
+- rel 5
+- install initrd programs in _libdir/initrd
+- verbose files
+
 Revision 1.121  2009/03/19 22:01:30  baggins
 - rel 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xfsprogs.spec?r1=1.121&r2=1.122&f=u



More information about the pld-cvs-commit mailing list