spec: again search for 'rmt' binary in %%{_sbindir}

Version: 2:1.26-23
This commit is contained in:
Pavel Raiskup 2013-05-28 15:56:49 +02:00
parent 209ec507af
commit 5b564d4846

View File

@ -5,7 +5,7 @@ Summary: A GNU file archiving program
Name: tar Name: tar
Epoch: 2 Epoch: 2
Version: 1.26 Version: 1.26
Release: 22%{?dist} Release: 23%{?dist}
License: GPLv3+ License: GPLv3+
Group: Applications/Archiving Group: Applications/Archiving
URL: http://www.gnu.org/software/tar/ URL: http://www.gnu.org/software/tar/
@ -161,7 +161,7 @@ autoreconf -v
%endif %endif
%configure %{?CONFIGURE_SELINUX} \ %configure %{?CONFIGURE_SELINUX} \
--with-lzma="xz --format=lzma" --with-lzma="xz --format=lzma" DEFAULT_RMT_DIR=%{_sbindir}
make make
%install %install
@ -174,7 +174,7 @@ install -c -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1
ln -s tar.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/gtar.1 ln -s tar.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/gtar.1
# XXX Nuke unpackaged files. # XXX Nuke unpackaged files.
rm -f $RPM_BUILD_ROOT%{_libexecdir}/rmt rm -f $RPM_BUILD_ROOT%{_sbindir}/rmt
%find_lang %name %find_lang %name
@ -208,6 +208,9 @@ fi
%{_infodir}/tar.info* %{_infodir}/tar.info*
%changelog %changelog
* Tue May 28 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-23
- again search for 'rmt' binary in %%{_sbindir} on target host
* Tue Mar 26 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-22 * Tue Mar 26 2013 Pavel Raiskup <praiskup@redhat.com> - 2:1.26-22
- enable build for arm64 (#926610) - enable build for arm64 (#926610)
- fix the NAME part in manual page (copied from texinfo) - fix the NAME part in manual page (copied from texinfo)