silence newer option (#164902)

This commit is contained in:
Peter Vrabec 2005-08-15 14:00:53 +00:00
parent 6e7f3a84b2
commit 6722887da7
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- tar-1.15.1/src/create.c.newerOption 2005-08-15 15:53:27.000000000 +0000
+++ tar-1.15.1/src/create.c 2005-08-15 15:53:51.000000000 +0000
@@ -1387,7 +1387,7 @@
&& OLDER_STAT_TIME (st->stat, m)
&& (!after_date_option || OLDER_STAT_TIME (st->stat, c)))
{
- if (!incremental_option)
+ if (!incremental_option && verbose_option)
WARN ((0, 0, _("%s: file is unchanged; not dumped"),
quotearg_colon (p)));
return;

View File

@ -1,7 +1,7 @@
Summary: A GNU file archiving program.
Name: tar
Version: 1.15.1
Release: 8
Release: 9
License: GPL
Group: Applications/Archiving
URL: http://www.gnu.org/software/tar/
@ -14,6 +14,7 @@ Patch9: tar-1.15.1-makeCheck.patch
Patch10: tar-1.15.1-gcc4.patch
Patch11: tar-1.15.1-lseek.patch
Patch12: tar-1.15.1-sparseTotals.patch
Patch13: tar-1.15.1-newerOption.patch
Prereq: info
BuildRequires: autoconf automake gzip
Buildroot: %{_tmppath}/%{name}-%{version}-root
@ -39,6 +40,7 @@ the rmt package.
%patch10 -p1 -b .gcc4
%patch11 -p1 -b .lseek
%patch12 -p1 -b .sparseTotals
%patch13 -p1 -b .newerOption
%build
@ -109,6 +111,9 @@ fi
%{_infodir}/tar.info*
%changelog
* Mon Aug 15 2005 Peter Vrabec <pvrabec@redhat.com> 1.15.1-9
- silence newer option (#164902)
* Wed Jul 27 2005 Peter Vrabec <pvrabec@redhat.com> 1.15.1-8
- A file is dumpable if it is sparse and both --sparse
and --totals are specified (#154882)