Browse Source

SysVinit-2.88dsf-4

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11174 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 years ago
parent
commit
0030de3cbe
1 changed files with 11 additions and 8 deletions
  1. 11 8
      S/SysVinit/SysVinit-vl.spec

+ 11 - 8
S/SysVinit/SysVinit-vl.spec

@@ -2,7 +2,7 @@ Summary: Programs which control basic system processes.
 Summary(ja): 基本的なシステムプロセスを制御するプログラム
 Name: SysVinit
 Version: 2.88dsf
-Release: 3%{_dist_release}
+Release: 4%{_dist_release}
 License: GPLv2+
 Group: System Environment/Base
 Source: http://download.savannah.gnu.org/releases/sysvinit/sysvinit-%{version}.tar.bz2
@@ -21,6 +21,7 @@ Buildroot: %{_tmppath}/%{name}-%{version}-root
 Requires: pam >= 0.66-5
 Requires: %{name}-tools = %{version}-%{release}
 Requires: filesystem
+Requires: util-linux >= 2.30.1
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -44,6 +45,7 @@ SysVinit パッケージには,システムの非常に基本的な機能を
 Summary: Tools used for process management.
 Summary(ja): プロセス管理に使用するツール
 Group: System Environment/Base
+Requires: util-linux >= 2.30.1
 
 %description tools
 The sysvinit-tools package contains various tools used for process
@@ -114,6 +116,9 @@ rm -f $RPM_BUILD_ROOT/sbin/sulogin
 rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/utmpdump.*
 rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/sulogin.*
 
+rm -f $RPM_BUILD_ROOT%{_bindir}/*
+rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/*
+
 %post
 [ -x /sbin/telinit -a -p /dev/initctl -a -f /proc/1/exe -a -d /proc/1/root ] && /sbin/telinit u
 exit 0
@@ -124,18 +129,16 @@ rm -rf $RPM_BUILD_ROOT
 %files tools
 %defattr(-,root,root)
 %doc doc/Changelog COPYRIGHT
-%{_bindir}/last
-%{_bindir}/lastb
-%{_bindir}/mesg
-%attr(2555,root,tty)  %{_bindir}/wall
 /sbin/pidof
 /sbin/killall5
-%{_mandir}/man1/*
 %{_mandir}/man8/killall5*
 %{_mandir}/man8/pidof*
 
 
 %changelog
+* Sat Sep 09 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.88dsf-4
+- removed last,lastb,mesg and wall which is part of util-linux = 2.30.
+
 * Tue Nov 27 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.88dsf-3
 - remove sulogin and utmpdump which are part of util-linux >= 2.22
 
@@ -220,7 +223,7 @@ rm -rf $RPM_BUILD_ROOT
 * Thu May 23 2002 Tim Powers <timp@redhat.com>
 - automated rebuild
 
-* Thu Mar 12 2002 Bill Nottingham <notting@redhat.com> 2.84-2
+* Tue Mar 12 2002 Bill Nottingham <notting@redhat.com> 2.84-2
 - add patch to log messages on shutdown/reboot
 
 * Fri Feb 22 2002 Bill Nottingham <notting@redhat.com> 2.84-1
@@ -295,7 +298,7 @@ rm -rf $RPM_BUILD_ROOT
 * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
 - build to fix dependency problem
 
-* Tue Jan 10 2000 Bill Nottingham <notting@redhat.com>
+* Mon Jan 10 2000 Bill Nottingham <notting@redhat.com>
 - update to 2.78
 
 * Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz>