SPECS: util-linux.spec - BR sed 4.0 - fix mail spool path in login...

baggins baggins at pld-linux.org
Sat Mar 24 23:35:20 CET 2007


Author: baggins                      Date: Sat Mar 24 22:35:20 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR sed 4.0
- fix mail spool path in login manpage
- move addpart,delpart,partx to /sbin
- move taskset,raw to /bin

---- Files affected:
SPECS:
   util-linux.spec (1.292 -> 1.293) 

---- Diffs:

================================================================
Index: SPECS/util-linux.spec
diff -u SPECS/util-linux.spec:1.292 SPECS/util-linux.spec:1.293
--- SPECS/util-linux.spec:1.292	Sat Mar 24 23:12:52 2007
+++ SPECS/util-linux.spec	Sat Mar 24 23:35:15 2007
@@ -123,6 +123,7 @@
 %{!?with_uClibc:BuildRequires:	ncurses-devel >= 5.0}
 %{!?with_uClibc:BuildRequires:	pam-devel >= 0.99.7.1}
 BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	sed >= 4.0
 BuildRequires:	texinfo
 %{!?with_uClibc:BuildRequires:	zlib-devel}
 %{!?with_uClibc:Requires:	pam >= 0.99.7.1}
@@ -544,6 +545,11 @@
 
 install misc-utils/scriptreplay.1 $RPM_BUILD_ROOT%{_mandir}/man1/
 
+sed -i -e 's,/usr/spool/mail,/var/mail,g' $RPM_BUILD_ROOT%{_mandir}/man1/login.1
+
+mv $RPM_BUILD_ROOT%{_sbindir}/{addpart,delpart,partx} $RPM_BUILD_ROOT/sbin
+mv $RPM_BUILD_ROOT%{_bindir}/{taskset,raw} $RPM_BUILD_ROOT/bin
+
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/login
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/rawdevices
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rawdevices
@@ -643,10 +649,14 @@
 
 %attr(755,root,root) /bin/dmesg
 %attr(755,root,root) /bin/kill
+%attr(755,root,root) /bin/taskset
 %{!?with_uClibc:%attr(755,root,root) /bin/more}
 %attr(755,root,root) /sbin/mkfs
 %attr(755,root,root) /sbin/mkswap
 %attr(755,root,root) /sbin/ctrlaltdel
+%attr(755,root,root) /sbin/addpart
+%attr(755,root,root) /sbin/delpart
+%attr(755,root,root) /sbin/partx
 %attr(755,root,root) %{_bindir}/cal
 %attr(755,root,root) %{_bindir}/chrt
 %attr(755,root,root) %{_bindir}/col
@@ -675,13 +685,9 @@
 %attr(755,root,root) %{_bindir}/setsid
 %{!?with_uClibc:%attr(755,root,root) %{_bindir}/setterm}
 %attr(755,root,root) %{_bindir}/tailf
-%attr(755,root,root) %{_bindir}/taskset
 %{!?with_uClibc:%attr(755,root,root) %{_bindir}/ul}
 %attr(755,root,root) %{_bindir}/whereis
 %attr(2755,root,tty) %{_bindir}/write
-%attr(755,root,root) %{_sbindir}/addpart
-%attr(755,root,root) %{_sbindir}/delpart
-%attr(755,root,root) %{_sbindir}/partx
 %attr(755,root,root) %{_sbindir}/readprofile
 
 %{_mandir}/man1/cal.1*
@@ -1153,7 +1159,7 @@
 %if !%{with uClibc}
 %files -n rawdevices
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/raw
+%attr(755,root,root) /bin/raw
 %attr(754,root,root) /etc/rc.d/init.d/rawdevices
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rawdevices
 
@@ -1167,6 +1173,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.293  2007/03/24 22:35:15  baggins
+- BR sed 4.0
+- fix mail spool path in login manpage
+- move addpart,delpart,partx to /sbin
+- move taskset,raw to /bin
+
 Revision 1.292  2007/03/24 22:12:52  baggins
 - removed TODO for raw, raw is obsolete use open(..., O_DIRECT)
 - utmp(x)/wtmp(x) access ok
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/util-linux.spec?r1=1.292&r2=1.293&f=u



More information about the pld-cvs-commit mailing list