From 644e5ee229c1459efcfb02270129627033ddbf6db50321c95f0079bf29247b62 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 18 Feb 2010 15:59:24 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/tar revision 20.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=d5e406f77153ebb7724038a47d3cd489 --- tar-1.21.tar.bz2 | 3 --- tar-1.22.tar.bz2 | 3 +++ tar-recognize_xz.patch | 10 ---------- tar.changes | 11 +++++++++++ tar.spec | 31 ++++++++++++++++++++++--------- 5 files changed, 36 insertions(+), 22 deletions(-) delete mode 100644 tar-1.21.tar.bz2 create mode 100644 tar-1.22.tar.bz2 delete mode 100644 tar-recognize_xz.patch diff --git a/tar-1.21.tar.bz2 b/tar-1.21.tar.bz2 deleted file mode 100644 index 05c34f2..0000000 --- a/tar-1.21.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dc6c70d2071ca4a928460b6d68ab500a32e67d50255261a0d17765a307aeb350 -size 2071237 diff --git a/tar-1.22.tar.bz2 b/tar-1.22.tar.bz2 new file mode 100644 index 0000000..650bd58 --- /dev/null +++ b/tar-1.22.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cefb67f197a3f8f5235999fe749ced0889466a71ddcbc96fddca84e5d53aa4d +size 2094575 diff --git a/tar-recognize_xz.patch b/tar-recognize_xz.patch deleted file mode 100644 index 43cedbe..0000000 --- a/tar-recognize_xz.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/suffix.c -+++ src/suffix.c -@@ -40,6 +40,7 @@ - { S(lzma, lzma) }, - { S(tlz, lzma) }, - { S(lzo, lzop) }, -+ { S(xz, lzma) }, - #undef S - }; - diff --git a/tar.changes b/tar.changes index f26d8bf..9ba0e4c 100644 --- a/tar.changes +++ b/tar.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Feb 2 20:35:03 UTC 2010 - mseben@novell.com + +- updated to version 1.22 + * Support for xz compression (--xz option) + * Short option -J is reassigned as a shortcut for --xz + * The option -I is a shortcut for --use-compress-program + * The --no-recursive option works with --incremental +- deprecated recognize_xz.patch +- created tar-backup-scripts subpackage (bnc#574688) + ------------------------------------------------------------------- Sun Dec 6 17:52:57 CET 2009 - jengelh@medozas.de diff --git a/tar.spec b/tar.spec index 7199d1d..1b165aa 100644 --- a/tar.spec +++ b/tar.spec @@ -1,5 +1,5 @@ # -# spec file for package tar (Version 1.21) +# spec file for package tar (Version 1.22) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -26,19 +26,15 @@ Group: System/Base Provides: base:/bin/tar PreReq: %install_info_prereq AutoReqProv: on -Version: 1.21 -Release: 4 +Version: 1.22 +Release: 1 Summary: GNU implementation of tar ((t)ape (ar)chiver) Source0: %name-%version.tar.bz2 -# merged -#Patch3: tar-gcc43.patch -#Patch4: tar-1.19-update_flag.patch # Patch0: tar-disable_languages.patch Patch1: tar-disable-listed02-test.diff Patch2: tar-manpage.patch Patch3: tar-wildcards.patch -Patch4: tar-recognize_xz.patch Patch5: tar-1.22-fortifysourcessigabrt.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: xz @@ -75,6 +71,16 @@ Authors: The King Tom Tromey + +%package backup-scripts +License: GPLv3+ +Summary: Backup scirpts +Group: Productivity/Archiving/Backup +Requires: %{name} = %{version}-%{release} + +%description backup-scripts +Shell scripts for system backup/restore + %lang_package %prep %setup -q @@ -82,7 +88,6 @@ Authors: %patch1 -p1 %patch2 -p1 %patch3 -p1 -%patch4 %patch5 -p1 %build @@ -94,7 +99,8 @@ automake --force --add-missing export CFLAGS="$RPM_OPT_FLAGS %my_cflags" export RSH="/usr/bin/rsh" ./configure --prefix=%_prefix --bindir=%_bindir --mandir=%_mandir \ - --infodir=%_infodir --build=%{_target_cpu}-suse-linux + --infodir=%_infodir --build=%{_target_cpu}-suse-linux \ + --enable-backup-scripts make %{?jobs:-j%jobs}; %check @@ -106,11 +112,18 @@ make %{?jobs:-j%jobs}; %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 %files lang -f %name.lang +%files backup-scripts +%defattr(-,root, root) +%_sbindir/backup +%_sbindir/restore +%config(noreplace) %{_sysconfdir}/backup-specs + %files %defattr(-, root, root) %_bindir/tar