mirror of
https://abf.rosa.ru/djam/coreutils.git
synced 2025-02-24 01:32:50 +00:00
Merge remote-tracking branch 'import/rosa2014.1' into current
This commit is contained in:
commit
b443c89d6c
1 changed files with 31 additions and 39 deletions
|
@ -1,7 +1,7 @@
|
|||
Summary: The GNU core utilities: a set of tools commonly used in shell scripts
|
||||
Name: coreutils
|
||||
Version: 8.19
|
||||
Release: 10
|
||||
Release: 8
|
||||
License: GPLv3+
|
||||
Group: System/Base
|
||||
Url: http://www.gnu.org/software/coreutils/
|
||||
|
@ -57,27 +57,19 @@ Patch2908: coreutils-8.14-getgrouplist.patch
|
|||
#Prevent buffer overflow in who(1) (bug #158405).
|
||||
Patch2912: coreutils-overflow.patch
|
||||
|
||||
#SELINUX Patch - implements Redhat changes
|
||||
#(upstream did some SELinux implementation unlike with RedHat patch)
|
||||
Patch950: coreutils-selinux.patch
|
||||
Patch951: coreutils-selinuxmanpages.patch
|
||||
|
||||
BuildRequires: libselinux-devel >= 2.1.6-7
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: gettext
|
||||
BuildRequires: strace
|
||||
BuildRequires: tar
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: termcap-devel
|
||||
BuildRequires: pam-devel >= 1.1.4-9
|
||||
BuildRequires: texinfo >= 4.3
|
||||
# We need automake which supports the dist-xz target
|
||||
BuildRequires: automake >= 1.10.2-2
|
||||
# And tar which supports xz automagically since rpm.org seems to rely on this(..?)
|
||||
BuildRequires: tar >= 1.21-2
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: acl-devel
|
||||
BuildRequires: attr-devel
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: strace
|
||||
|
||||
%rename mktemp
|
||||
|
||||
|
@ -90,7 +82,6 @@ Provides: /bin/cp
|
|||
Provides: /bin/stty
|
||||
Provides: /bin/ln
|
||||
Provides: /bin/mktemp
|
||||
Obsoletes: base64
|
||||
Requires: coreutils-doc
|
||||
|
||||
%description
|
||||
|
@ -107,15 +98,33 @@ Most of these programs have significant advantages over their Unix
|
|||
counterparts, such as greater speed, additional options, and fewer
|
||||
arbitrary limits.
|
||||
|
||||
%package doc
|
||||
%files -f %{name}.lang
|
||||
%config(noreplace) %{_sysconfdir}/D*
|
||||
%doc README
|
||||
/bin/*
|
||||
%{_bindir}/*
|
||||
%{_sbindir}/chroot
|
||||
%dir %{_libdir}/coreutils
|
||||
%{_libdir}/coreutils/libstdbuf.so
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
%package doc
|
||||
Summary: Coreutils documentation in info format
|
||||
Group: Books/Computer books
|
||||
Requires: coreutils >= 4.5.4-2mdk
|
||||
Group: Documentation
|
||||
Requires: coreutils
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
%description doc
|
||||
This package contains coreutils documentation in GNU info format.
|
||||
|
||||
%files doc
|
||||
%doc ABOUT-NLS ChangeLog.bz2 NEWS THANKS TODO
|
||||
%{_infodir}/coreutils*
|
||||
%{_mandir}/man*/*
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
@ -147,7 +156,7 @@ This package contains coreutils documentation in GNU info format.
|
|||
# (tpg) not needed for now
|
||||
#%patch2104 -p1 -b .dfdirect~
|
||||
|
||||
%ifnarch %arm
|
||||
%ifnarch %{arm}
|
||||
%patch2105 -p1 -b .sparc~
|
||||
%endif
|
||||
|
||||
|
@ -208,20 +217,3 @@ install -m644 src/dircolors.hin -D %{buildroot}%{_sysconfdir}/DIR_COLORS
|
|||
find %{buildroot}%{_datadir}/locale/ -name coreutils.mo | fgrep LC_TIME | xargs rm -f
|
||||
%find_lang %{name}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%config(noreplace) %{_sysconfdir}/D*
|
||||
%doc README
|
||||
/bin/*
|
||||
%{_bindir}/*
|
||||
%{_sbindir}/chroot
|
||||
%dir %{_libdir}/coreutils
|
||||
%{_libdir}/coreutils/libstdbuf.so
|
||||
|
||||
%files doc
|
||||
%doc ABOUT-NLS ChangeLog.bz2 NEWS THANKS TODO
|
||||
%{_infodir}/coreutils*
|
||||
%{_mandir}/man*/*
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue