cpio: revert previous commit

I have done a little bit of observation and that change is not as easy as it
could look.

Firstly - asking for %{_sbindir}/rmt is not OK because we have older systems
like RHEL6- which has only /sbin/rmt and not /usr/sbin/rmt.  Secondly, I
looked at some older debian system, and it does not have the /sbin/rmt (but
has only /usr/sbin/rmt).

Looking at star source code, star based utilities always try to look for
/etc/rmt (which, btw seems to exist on all platforms).

~> For that ^^ reasons, I'm switching back to /etc/rmt

This reverts commit 1518d48b25

Version: 2.11-20
This commit is contained in:
Pavel Raiskup 2013-06-20 16:30:22 +02:00
parent fa058c0089
commit 660522ae5a

View File

@ -1,7 +1,7 @@
Summary: A GNU archiving program
Name: cpio
Version: 2.11
Release: 21%{?dist}
Release: 20%{?dist}
License: GPLv3+
Group: Applications/Archiving
URL: http://www.gnu.org/software/cpio/
@ -67,7 +67,7 @@ autoreconf -v
%build
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -pedantic -fno-strict-aliasing -Wall"
%configure --with-rmt="%{_sbindir}/rmt"
%configure --with-rmt="%{_sysconfdir}/rmt"
make %{?_smp_mflags}
%install
@ -110,9 +110,6 @@ fi
%{_infodir}/*.info*
%changelog
* Thu Jun 20 2013 Pavel Raiskup <praiskup@redhat.com> - 2.11-21
- the symlink /etc/rmt should be removed in future (related to #966066)
* Wed Mar 27 2013 Pavel Raiskup <praiskup@redhat.com> - 2.11-20
- fix another bogus date in changelog
- update config.guess/config.sub for aarm64 build (#925189)