From 980e93fd56842bb2b9da17f5a6ad163a17f9e4f3 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 20 Jun 2013 16:55:08 +0200 Subject: [PATCH] tar: look the rmt at /etc/rmt Version: 1.26-26 --- tar.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tar.spec b/tar.spec index aed0093..e4904e5 100644 --- a/tar.spec +++ b/tar.spec @@ -5,7 +5,7 @@ Summary: A GNU file archiving program Name: tar Epoch: 2 Version: 1.26 -Release: 25%{?dist} +Release: 26%{?dist} License: GPLv3+ Group: Applications/Archiving URL: http://www.gnu.org/software/tar/ @@ -141,7 +141,7 @@ remote archives, and the ability to perform incremental and full backups. If you want to use tar for remote backups, you also need to install -the rmt package. +the rmt package on the remote box. %prep %setup -q @@ -172,7 +172,7 @@ autoreconf -v %configure %{?CONFIGURE_SELINUX} \ --with-lzma="xz --format=lzma" \ - DEFAULT_RMT_DIR=%{_sbindir} \ + DEFAULT_RMT_DIR=%{_sysconfdir} \ RSH=/usr/bin/ssh make @@ -186,7 +186,7 @@ install -c -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1 ln -s tar.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/gtar.1 # XXX Nuke unpackaged files. -rm -f $RPM_BUILD_ROOT%{_sbindir}/rmt +rm -f $RPM_BUILD_ROOT%{_sysconfdir}/rmt %find_lang %name @@ -220,6 +220,10 @@ fi %{_infodir}/tar.info* %changelog +* Thu Jun 20 2013 Pavel Raiskup - 1.26-26 +- the /etc/rmt seems to be the best place where to look for rmt binary (see the + commit message in Fedora's cpio.git for more info) + * Tue Jun 04 2013 Pavel Raiskup - 2:1.26-25 - fix "symlink eating" bug (already fixed in upstream git)