]> git.pld-linux.org Git - packages/coreutils.git/blobdiff - coreutils.spec
- updated for 6.10
[packages/coreutils.git] / coreutils.spec
index 0ef394d4fadc447d2adc4e6405df8b35cc8a9213..76cfea2225efcff14f2acb3c59eda60a8ab8d572 100644 (file)
@@ -6,8 +6,8 @@ Summary:        GNU Core-utils - basic command line utilities
 Summary(pl.UTF-8):     GNU Core-utils - podstawowe narzędzia działające z linii poleceń
 Name:          coreutils
 Version:       6.9
-Release:       1
-License:       GPL
+Release:       2
+License:       GPL v2+
 Group:         Applications/System
 Source0:       ftp://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.bz2
 # Source0-md5: c9607d8495f16e98906e7ed2d9751a06
@@ -35,6 +35,7 @@ Patch11:      %{name}-runuser.patch
 Patch12:       %{name}-split-pam.patch
 Patch13:       %{name}-selinux.patch
 Patch14:       %{name}-pl.po-update.patch
+Patch15:       %{name}-futimens.patch
 URL:           http://www.gnu.org/software/coreutils/
 BuildRequires: acl-devel
 BuildRequires: autoconf >= 2.60
@@ -44,6 +45,7 @@ BuildRequires:        gettext-devel >= 0.16-2
 BuildRequires: help2man
 %{?with_selinux:BuildRequires: libselinux-devel}
 BuildRequires: pam-devel
+BuildRequires: rpmbuild(find_lang) >= 1.24
 BuildRequires: texinfo >= 4.2
 Requires:      pam >= 0.77.3
 Requires:      setup >= 2.4.6-2
@@ -111,6 +113,7 @@ Programy zawarte w tym pakiecie to:
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch15 -p1
 %{?with_selinux:%patch13 -p1}
 
 %{__perl} -pi -e 's@GNU/Linux@PLD Linux@' m4/host-os.m4
@@ -177,11 +180,11 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/*/man1/{hostname,kill,uptime}.1
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.029224 seconds and 4 git commands to generate.