SHA256
6
0
forked from pool/tar

Accepting request 560965 from home:avindra

- GNU tar 1.30:
  * Member names containing '..' components are now skipped when
    extracting.
  * Report erroneous use of position-sensitive options.
  * --numeric-owner now affects private headers too.
  * Fixed the --delay-directory-restore option
  * The --warnings=failed-read option
  * The --warnings=none option now suppresses all warnings
  * Fix reporting of hardlink mismatches during compare
- cleanup with spec-cleaner
- switch all urls to https
- drop upstreamed patches
  * add-return-values-to-backup-scripts.patch
  * tar-1.29-extract_pathname_bypass.patch
- rebase add_readme-tests.patch

OBS-URL: https://build.opensuse.org/request/show/560965
OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=83
This commit is contained in:
2018-01-04 13:04:08 +00:00
committed by Git OBS Bridge
parent 2a37f6b620
commit 5e20fdd77c
9 changed files with 42 additions and 136 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package tar
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,14 @@
# For correct subpackages docs installation into tar doc directory
%global _docdir_fmt %{name}
Name: tar
Version: 1.29
Version: 1.30
Release: 0
Summary: GNU implementation of ((t)ape (ar)chiver)
License: GPL-3.0+
Group: Productivity/Archiving/Backup
Url: http://www.gnu.org/software/tar/
Source0: http://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
Source1: http://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2.sig
Url: https://www.gnu.org/software/tar/
Source0: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
Source1: https://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2.sig
# http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x3602B07F55D0C732
Source2: %{name}.keyring
Patch3: %{name}-wildcards.patch
@@ -40,12 +40,6 @@ Patch11: %{name}-ignore_lone_zero_blocks.patch
#https://bugzilla.opensuse.org/show_bug.cgi?id=918487
Patch12: %{name}-recursive--files-from.patch
Patch20: add_readme-tests.patch
# PATCH-FEATURE-UPSTREAM add-return-values-to-backup-scripts.patch -
# add return values to the backup scripts for better results monitoring.
# https://savannah.gnu.org/patch/?8953
Patch21: add-return-values-to-backup-scripts.patch
# PATCH-FIX-UPSTREAM bnc#1007188 CVE-2016-6321 kstreitova@suse.com -- fix POINTYFEATHER vulnerability
Patch22: %{name}-1.29-extract_pathname_bypass.patch
BuildRequires: automake
BuildRequires: libacl-devel
BuildRequires: libattr-devel
@@ -56,7 +50,6 @@ Recommends: %{name}-rmt = %{version}
Recommends: mt
Recommends: xz
Provides: base:/bin/tar
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNU Tar is an archiver program. It is used to create and manipulate files
@@ -120,8 +113,6 @@ it may as well access remote devices or files.
%patch11 -p1
#%patch12 -p1
%patch20 -p1
%patch21 -p1
%patch22 -p1
%build
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter -fPIE
@@ -191,7 +182,6 @@ if [ ! -f %{_bindir}/gnurmt ] ; then
fi
%files backup-scripts
%defattr(-,root, root)
%{_sbindir}/backup
%{_sbindir}/restore.sh
%{_libexecdir}/backup.sh
@@ -200,15 +190,12 @@ fi
%config(noreplace) %{_sysconfdir}/backup/backup-specs
%files lang -f %{name}.lang
%defattr(-,root,root)
%files tests
%defattr(-,root, root)
%{_localstatedir}/lib/tests
%{_docdir}/%{name}/README-tests
%files rmt
%defattr(-, root, root)
%ghost %{_bindir}/rmt
%{_bindir}/gnurmt
%ghost %{_mandir}/man1/rmt.1%{ext_man}
@@ -217,7 +204,6 @@ fi
%ghost %{_sysconfdir}/alternatives/rmt.1%{ext_man}
%files doc
%defattr(-, root, root)
%{_docdir}/%{name}/NEWS
%{_docdir}/%{name}/README
%{_docdir}/%{name}/ABOUT-NLS
@@ -228,7 +214,6 @@ fi
%{_infodir}/%{name}.info*
%files
%defattr(-, root, root)
#UsrMerge
/bin/%{name}
#EndUsrMerge