Author: arekm                        Date: Tue Aug 28 07:15:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.13 final (fixes: CVE-2007-0822, CVE-2006-7108). It's going to 
replace util-linux in th.

---- Files affected:
SPECS:
   util-linux-ng.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/util-linux-ng.spec
diff -u SPECS/util-linux-ng.spec:1.9 SPECS/util-linux-ng.spec:1.10
--- SPECS/util-linux-ng.spec:1.9        Tue Jul 17 15:56:34 2007
+++ SPECS/util-linux-ng.spec    Tue Aug 28 09:15:36 2007
@@ -1,12 +1,9 @@
 # $Revision$, $Date$
-# TODO:
-# - if it obsoletes setarch, compat symlinks and P/O list should be merged
 #
 # Conditional build:
 %bcond_with    uClibc  # don't build few utilities
 %bcond_without selinux # build without SELinux support
 #
-%define        snap    rc2
 Summary:       Collection of basic system utilities for Linux
 Summary(de.UTF-8):     Sammlung von grundlegenden Systemdienstprogrammen für 
Linux
 Summary(es.UTF-8):     Colectánea de utilitarios básicos de sistema para Linux
@@ -18,17 +15,18 @@
 Summary(uk.UTF-8):     Набір базових системних утиліт для Linux
 Name:          util-linux-ng
 Version:       2.13
-Release:       1.%{snap}.1
+Release:       1
 License:       GPL
 Group:         Applications/System
-Source0:       
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v%{version}/%{name}-%{version}-%{snap}.tar.bz2
-# Source0-md5: 284e98596a9b2be663d82dc6c7dab309
+Source0:       
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 2175a6e64ba0cf8ff05402eaee33e4b0
 # Source1:     
http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 Source1:       util-linux-non-english-man-pages.tar.bz2
 # Source1-md5: 81bbcc9a820512ecde87a8f31de0b745
 Source2:       login.pamd
 Source3:       util-linux-blockdev.init
 Source4:       util-linux-blockdev.sysconfig
+Patch0:                %{name}-man.patch
 URL:           http://userweb.kernel.org/~kzak/util-linux-ng/
 BuildRequires: audit-libs-devel >= 1.0.6
 BuildRequires: autoconf
@@ -46,11 +44,15 @@
 %{!?with_uClibc:BuildRequires: zlib-devel}
 %{!?with_uClibc:Requires:      pam >= 0.99.7.1}
 Provides:      fdisk
+Provides:      linux32
+Provides:      sparc32
 Provides:      util-linux = %{version}-%{release}
 Obsoletes:     cramfs
 Obsoletes:     rawdevices
 Obsoletes:     schedutils
 Obsoletes:     setarch
+Obsoletes:     linux32
+Obsoletes:     sparc32
 Obsoletes:     util-linux
 Obsoletes:     util-linux-suids
 Conflicts:     shadow-extras < 1:4.0.3-6
@@ -336,7 +338,8 @@
 agetty jest prostym linuksowym getty z obsługą portu szeregowego.
 
 %prep
-%setup -q -a1 -n %{name}-%{version}-%{snap}
+%setup -q -a1
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -422,7 +425,7 @@
        $RPM_BUILD_ROOT%{_mandir}/*/man5/nfs.5 \
        
$RPM_BUILD_ROOT%{_mandir}/*/man8/{display-services,elvtune,fast*,halt,initctl,need,provide,reboot,setfdprm,shutdown,simpleinit,sln,vigr,vipw}.8
 
-%ifnarch %{ix86}
+%ifnarch %{ix86} %{x8664}
 rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/{ramsize,rdev,rootflags,vidmode}.8
 %endif
 %ifarch sparc sparc64
@@ -506,6 +509,37 @@
 %attr(755,root,root) %{_bindir}/script
 %attr(755,root,root) %{_bindir}/scriptreplay
 %attr(755,root,root) %{_bindir}/setarch
+%if %{_lib} == "lib64"
+%attr(755,root,root) %{_bindir}/linux32
+%attr(755,root,root) %{_bindir}/linux64
+%{_mandir}/man8/linux32*
+%{_mandir}/man8/linux64*
+%endif
+%ifarch s390 s390x
+%attr(755,root,root) %{_bindir}/s390*
+%{_mandir}/man8/s390*
+%endif
+%ifarch %{ix86} %{x8664}
+%attr(755,root,root) %{_bindir}/i386
+%attr(755,root,root) %{_bindir}/x86_64
+%{_mandir}/man8/i386*
+%{_mandir}/man8/x86_64*
+%endif
+%ifarch ppc ppc64
+%attr(755,root,root) %{_bindir}/ppc*
+%{_mandir}/man8/ppc*
+%endif
+%ifarch sparc sparc64
+%attr(755,root,root) %{_bindir}/sparc*
+%{_mandir}/man8/sparc*
+%endif
+%ifarch ia64
+%attr(755,root,root) %{_bindir}/i386
+%attr(755,root,root) %{_bindir}/ia64
+%{_mandir}/man8/i386*
+%{_mandir}/man8/ia64*
+%endif
+
 %attr(755,root,root) %{_bindir}/setsid
 %{!?with_uClibc:%attr(755,root,root) %{_bindir}/setterm}
 %attr(755,root,root) %{_bindir}/tailf
@@ -811,7 +845,7 @@
 
 %attr(755,root,root) %{_bindir}/cytune
 
-%ifarch %{ix86}
+%ifarch %{ix86} %{x8664}
 %attr(755,root,root) %{_sbindir}/ramsize
 %attr(755,root,root) %{_sbindir}/rdev
 %attr(755,root,root) %{_sbindir}/rootflags
@@ -988,6 +1022,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2007/08/28 07:15:36  arekm
+- updated to 2.13 final (fixes: CVE-2007-0822, CVE-2006-7108). It's going to 
replace util-linux in th.
+
 Revision 1.9  2007/07/17 13:56:34  arekm
 - up to 2.13 rc2
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/util-linux-ng.spec?r1=1.9&r2=1.10&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to