Hello community,
here is the log from the commit of package tar for openSUSE:Factory
checked in at Wed Nov 24 10:53:21 CET 2010.
--------
--- tar/tar.changes 2010-11-09 15:34:28.000000000 +0100
+++ /mounts/work_src_done/STABLE/tar/tar.changes 2010-11-24 10:34:58.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Nov 24 09:24:11 UTC 2010 - puzel@novell.com
+
+- fix tar-backup-scripts (bnc#654199)
+- add tar-backup-spec-fix-paths.patch
+- cleanup spec
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
tar-backup-spec-fix-paths.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tar.spec ++++++
--- /var/tmp/diff_new_pack.NcRajL/_old 2010-11-24 10:53:09.000000000 +0100
+++ /var/tmp/diff_new_pack.NcRajL/_new 2010-11-24 10:53:09.000000000 +0100
@@ -15,30 +15,29 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
Name: tar
-BuildRequires: help2man
-Url: http://www.gnu.org/software/tar/
-License: GPLv3+
-Group: System/Base
-Provides: base:/bin/tar
-PreReq: %install_info_prereq
-AutoReqProv: on
Version: 1.25
-Release: 1
+Release: 2
+License: GPLv3+
Summary: GNU implementation of tar ((t)ape (ar)chiver)
-Source0: %name-%version.tar.bz2
+Url: http://www.gnu.org/software/tar/
+Group: System/Base
+Source0: %{name}-%{version}.tar.bz2
#
Patch0: tar-disable_languages.patch
Patch1: tar-disable-listed02-test.patch
Patch2: tar-manpage.patch
Patch3: tar-wildcards.patch
Patch5: tar-fortifysourcessigabrt.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Recommends: xz
+Patch6: tar-backup-spec-fix-paths.patch
+BuildRequires: help2man
+PreReq: %install_info_prereq
Recommends: tar-lang = %version
+Recommends: xz
+Provides: base:/bin/tar
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _bindir /bin
%description
@@ -49,32 +48,9 @@
provided by tar you have to also install the 'dump' or the 'star'
package.
-
-
-Authors:
---------
- Melissa O'Neill
- Bruno Haible
- Dale Worley
- David J. MacKenzie
- Fran�ois Pinard
- Gerhard Poul
- Jay Fenlason
- Jeff Dairiki
- Jim Kingdon
- Joy Kendall
- Machael Stone
- Michael I Bushnell
- Noah Friedman
- Paul Eggert
- Rainer Orth
- The King
- Tom Tromey
-
-
%package backup-scripts
License: GPLv3+
-Summary: Backup scirpts
+Summary: Backup scripts
Group: Productivity/Archiving/Backup
Requires: %{name} = %{version}-%{release}
@@ -89,6 +65,7 @@
%patch2 -p1
%patch3 -p1
%patch5 -p1
+%patch6 -p1
%build
rm -f po/no.* po/ky.*
@@ -96,14 +73,9 @@
aclocal -I m4
automake --force --add-missing
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter
-export CFLAGS="$RPM_OPT_FLAGS %my_cflags"
+export CFLAGS="%{optflags} %my_cflags"
export RSH="/usr/bin/rsh"
-./configure \
- --prefix=%_prefix \
- --bindir=%_bindir \
- --mandir=%_mandir \
- --infodir=%_infodir \
- --build=%{_target_cpu}-suse-linux \
+%configure \
--enable-backup-scripts \
--disable-silent-rules
make %{?_smp_mflags};
@@ -116,25 +88,29 @@
#%endif
%install
-make install DESTDIR=$RPM_BUILD_ROOT
-install -D -m 644 scripts/backup-specs $RPM_BUILD_ROOT%{_sysconfdir}/backup-specs
-rm -r %buildroot/usr/libexec
-%find_lang %name
+%make_install
+install -d -m 755 %{buildroot}%{_sysconfdir}/backup
+install -D -m 644 scripts/backup-specs %{buildroot}%{_sysconfdir}/backup/backup-specs
+rm -rf %{buildroot}%{_libexecdir}/rmt
+%find_lang %{name}
-%files lang -f %name.lang
+%files lang -f %{name}.lang
%files backup-scripts
%defattr(-,root, root)
-%_sbindir/backup
-%_sbindir/restore
-%config(noreplace) %{_sysconfdir}/backup-specs
+%{_sbindir}/backup
+%{_sbindir}/restore
+%{_libexecdir}/backup.sh
+%{_libexecdir}/dump-remind
+%dir %{_sysconfdir}/backup
+%config(noreplace) %{_sysconfdir}/backup/backup-specs
%files
%defattr(-, root, root)
-%_bindir/tar
+%{_bindir}/tar
%doc README* ABOUT-NLS AUTHORS COPYING NEWS THANKS ChangeLog TODO
-%_infodir/tar.info*.gz
-%_mandir/man1/tar.1.gz
+%{_infodir}/tar.info*.gz
+%{_mandir}/man1/tar.1.gz
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
@@ -143,6 +119,6 @@
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%changelog
++++++ tar-backup-spec-fix-paths.patch ++++++
Index: tar-1.25/scripts/backup-specs
===================================================================
--- tar-1.25.orig/scripts/backup-specs
+++ tar-1.25/scripts/backup-specs
@@ -11,12 +11,12 @@ TAR=/bin/tar
# (Optional) Path to rsh binary or its equivalent. You may wish to
# set it to ssh as shown in the example below, to improve security.
# In this case you will have to use public key authentication.
-RSH=/usr/local/bin/ssh
+RSH=/usr/bin/ssh
# (Optional) Path to rsh binary on remote mashines. This will be
# passed via --rsh-command option to the remote invocation of
# tar
-RSH_COMMAND=/usr/local/bin/ssh
+RSH_COMMAND=/usr/bin/ssh
# Name of temporary file to hold volume numbers. This needs to be accessible
# by all the machines which have filesystems to be dumped.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org