- tar-1.26-remove_O_NONBLOCK.patch:
don't use O_NONBLOCK as a flag for read, when file is offline, read with O_NONBLOCK returns EAGAIN, but tar doesn't handle it (bnc#737331) OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=32
This commit is contained in:
10
tar.spec
10
tar.spec
@@ -15,21 +15,21 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
# minimum suse version where the full featured package builds
|
||||
%define min_suse_ver 1010
|
||||
|
||||
Name: tar
|
||||
Version: 1.26
|
||||
Release: 1
|
||||
License: GPL-3.0+
|
||||
Release: 0
|
||||
Summary: GNU implementation of tar ((t)ape (ar)chiver)
|
||||
Url: http://www.gnu.org/software/tar/
|
||||
License: GPL-3.0+
|
||||
Group: System/Base
|
||||
Url: http://www.gnu.org/software/tar/
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
#
|
||||
Patch3: tar-wildcards.patch
|
||||
Patch6: tar-backup-spec-fix-paths.patch
|
||||
Patch7: tar-1.26-remove_O_NONBLOCK.patch
|
||||
%if 0%{?suse_version} >= %min_suse_ver
|
||||
BuildRequires: help2man
|
||||
Recommends: tar-lang = %{version}
|
||||
@@ -49,7 +49,6 @@ provided by tar you have to also install the 'dump' or the 'star'
|
||||
package.
|
||||
|
||||
%package backup-scripts
|
||||
License: GPL-3.0+
|
||||
Summary: Backup scripts
|
||||
Group: Productivity/Archiving/Backup
|
||||
Requires: %{name} = %{version}
|
||||
@@ -63,6 +62,7 @@ Shell scripts for system backup/restore
|
||||
%setup -q
|
||||
%patch3 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter
|
||||
|
Reference in New Issue
Block a user