SPECS: coreutils.spec - split subpackage for su and runuser to remove circu...

patrys patrys at pld-linux.org
Tue Jun 24 22:15:26 CEST 2008


Author: patrys                       Date: Tue Jun 24 20:15:26 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- split subpackage for su and runuser to remove circular dependency between pam and coreutils
- rel 3

---- Files affected:
SPECS:
   coreutils.spec (1.134 -> 1.135) 

---- Diffs:

================================================================
Index: SPECS/coreutils.spec
diff -u SPECS/coreutils.spec:1.134 SPECS/coreutils.spec:1.135
--- SPECS/coreutils.spec:1.134	Fri Apr 11 21:04:10 2008
+++ SPECS/coreutils.spec	Tue Jun 24 22:15:21 2008
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	GNU Core-utils - podstawowe narzędzia działające z linii poleceń
 Name:		coreutils
 Version:	6.10
-Release:	2
+Release:	3
 License:	GPL v3+
 Group:		Applications/System
 Source0:	http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.lzma
@@ -43,7 +43,6 @@
 BuildRequires:	pam-devel
 BuildRequires:	rpmbuild(find_lang) >= 1.24
 BuildRequires:	texinfo >= 4.2
-Requires:	pam >= 0.77.3
 Requires:	setup >= 2.4.6-2
 Provides:	fileutils
 Provides:	mktemp = %{version}-%{release}
@@ -75,8 +74,8 @@
   fold install groups head hostid id join link ln logname ls md5sum
   mkdir mkfifo mknod mv nice nl nohup od paste pathchk pinky pr printenv
   printf ptx pwd rm rmdir seq sha1sum shred sleep sort split stat stty
-  su sum sync tac tail tee test touch tr true tsort tty uname unexpand
-  uniq unlink users vdir wc who whoami yes
+  sum sync tac tail tee test touch tr true tsort tty uname unexpand uniq
+  unlink users vdir wc who whoami yes
 
 %description -l pl.UTF-8
 Narzędzia podstawowe (core utilities) GNU to połączone paczki GNU
@@ -96,6 +95,19 @@
   su sum sync tac tail tee test touch tr true tsort tty uname unexpand
   uniq unlink users vdir wc who whoami yes
 
+%package su
+Summary:	GNU Core-utils - su and runuser
+Summary(pl.UTF-8):	GNU Core-utils - narzędzia su i runuser
+Group:		Applications/System
+Requires:	pam >= 0.77.3
+Requires:	%{name} = %{version}-%{release}
+
+%description su
+This package contains the su and runuser utilities.
+
+%description su -l pl.UTF-8
+Ten pakiet zawiera narzędzia su oraz runuser.
+
 %prep
 %setup -q -c -T -a1
 lzma -dc %{SOURCE0} | tar xf - -C ..
@@ -184,14 +196,8 @@
 %doc AUTHORS ChangeLog NEWS README THANKS THANKS-to-translators TODO
 %attr(755,root,root) /bin/[!s]*
 %attr(755,root,root) /bin/s[!u]*
-%attr(4755,root,root) /bin/su
-%attr(755,root,root) /sbin/runuser
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/chroot
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/su
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/su-l
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser-l
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/DIR_COLORS
 /etc/shrc.d/fileutils.csh
 /etc/shrc.d/fileutils.sh
@@ -214,13 +220,26 @@
 %lang(zh_CN) %{_mandir}/zh_CN/man1/*
 %{_infodir}/coreutils.info*
 
+%files su
+%defattr(644,root,root,755)
+%attr(4755,root,root) /bin/su
+%attr(755,root,root) /sbin/runuser
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/su
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/su-l
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/runuser-l
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.134  2008/04/11 19:04:10  tommat
+Revision 1.135  2008/06/24 20:15:21  patrys
+- split subpackage for su and runuser to remove circular dependency between pam and coreutils
+- rel 3
+
+Revision 1.134  2008-04-11 19:04:10  tommat
 - added stupid workaround to build for sparc64
 
 Revision 1.133  2008-03-08 14:58:48  qboosh
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/coreutils.spec?r1=1.134&r2=1.135&f=u



More information about the pld-cvs-commit mailing list