]> git.pld-linux.org Git - packages/coreutils.git/blobdiff - coreutils.spec
- updated for 6.10
[packages/coreutils.git] / coreutils.spec
index a2084fed2bc143a4c081924b2cf52fcebdfed3a3..76cfea2225efcff14f2acb3c59eda60a8ab8d572 100644 (file)
@@ -7,7 +7,7 @@ Summary(pl.UTF-8):      GNU Core-utils - podstawowe narzędzia działające z linii p
 Name:          coreutils
 Version:       6.9
 Release:       2
-License:       GPL
+License:       GPL v2+
 Group:         Applications/System
 Source0:       ftp://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.bz2
 # Source0-md5: c9607d8495f16e98906e7ed2d9751a06
@@ -45,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
@@ -179,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.051859 seconds and 4 git commands to generate.