Hello community,

here is the log from the commit of package quilt for openSUSE:Factory checked 
in at 2014-08-13 08:48:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/quilt (Old)
 and      /work/SRC/openSUSE:Factory/.quilt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "quilt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/quilt/quilt.changes      2014-06-19 
13:08:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.quilt.new/quilt.changes 2014-08-13 
08:49:05.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Jul 31 18:47:10 CEST 2014 - [email protected]
+
+- setup-skip-version-check.patch: setup: Skip version check.
+- setup-fix-tar-with-long-options.patch: inspect: Handle long
+  options passed to tar.
+
+-------------------------------------------------------------------

New:
----
  setup-fix-tar-with-long-options.patch
  setup-skip-version-check.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ quilt.spec ++++++
--- /var/tmp/diff_new_pack.UqEqoX/_old  2014-08-13 08:49:07.000000000 +0200
+++ /var/tmp/diff_new_pack.UqEqoX/_new  2014-08-13 08:49:07.000000000 +0200
@@ -42,8 +42,10 @@
 Patch1:         expand.diff
 Patch2:         quilt-support-vimdiff.patch
 Patch3:         patch-wrapper-rpm.diff
-Patch4:         setup-check-for-rpmbuild.patch
-Patch5:         suse-workaround-pseudo-release.patch
+Patch4:         suse-workaround-pseudo-release.patch
+Patch5:         setup-skip-version-check.patch
+Patch6:         setup-check-for-rpmbuild.patch
+Patch7:         setup-fix-tar-with-long-options.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 Recommends:     procmail
@@ -68,6 +70,8 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
 
 %build
 # --with-rpmbuild=/usr/lib/rpm/rpmb:

++++++ setup-check-for-rpmbuild.patch ++++++
--- /var/tmp/diff_new_pack.UqEqoX/_old  2014-08-13 08:49:07.000000000 +0200
+++ /var/tmp/diff_new_pack.UqEqoX/_new  2014-08-13 08:49:07.000000000 +0200
@@ -11,7 +11,7 @@
 
 --- a/quilt/setup.in
 +++ b/quilt/setup.in
-@@ -167,6 +167,14 @@ case "$1" in
+@@ -173,6 +173,14 @@ case "$1" in
  *.spec)
        spec_file=$1
  

++++++ setup-fix-tar-with-long-options.patch ++++++
From: Jean Delvare <[email protected]>
Subject: inspect: Handle long options passed to tar
Upstream: Submitted

The command line interface to tar is complex and sometimes confusing,
but we should still do our best to figure where the file name is on
that command line.

Add support for the --file FILE and --file=FILE options. Other long
options must be explicitly skipped, as well as short options not
containing the letter "f".

With this we should be good to go in most real-world cases, but
there are still a few corner cases we may not handle properly. These
can be addressed later when reported.

Reported by Petr Tesarik.
---
 quilt/scripts/inspect.in |   34 ++++++++++++++++++++++++++--------
 1 file changed, 26 insertions(+), 8 deletions(-)

--- a/quilt/scripts/inspect.in
+++ b/quilt/scripts/inspect.in
@@ -257,14 +257,32 @@ cat <<-'EOF' > $tmpdir/bin/wrapper
 
        tar_input_file()
        {
-               case "$1" in
-               *C*f*)
-                       echo "$3"
-                       ;;
-               *f*)
-                       echo "$2"
-                       ;;
-               esac
+               while [ $# -gt 0 ]; do
+                       case "$1" in
+                       --file)
+                               echo "$2"
+                               return
+                               ;;
+                       --file=*)
+                               echo "${1#--file=}"
+                               return
+                               ;;
+                       --*)
+                               shift
+                               ;;
+                       *C*f*)
+                               echo "$3"
+                               return
+                               ;;
+                       *f*)
+                               echo "$2"
+                               return
+                               ;;
+                       -*)
+                               shift
+                               ;;
+                       esac
+               done
        }
 
        unzip_input_file()
++++++ setup-skip-version-check.patch ++++++
From: Jean Delvare <[email protected]>
Subject: setup: Skip version check
Upstream: Committed (a626fcf8b95f2ff51701a00d65043b9f65207514)

The version check is irrelevant when running "quilt setup", as it is
creating a brand new working tree anyway.

Reported by Petr Tesarik.
---
diff --git a/quilt/setup.in b/quilt/setup.in
index 36d0d24..a90c5ad 100644
--- a/quilt/setup.in
+++ b/quilt/setup.in
@@ -6,6 +6,9 @@
 #
 #  See the COPYING and AUTHORS files for more details.
 
+# Version check is irrelevant to this command.
+skip_version_check=1
+
 # Read in library functions
 if [ "$(type -t patch_file_name)" != function ]
 then
diff --git a/test/setup.test b/test/setup.test
index 5a39475..69725ec 100644
--- a/test/setup.test
+++ b/test/setup.test
@@ -32,6 +32,13 @@ $ quilt push -qa
 > Now at patch patches/again.diff
 $ cd ..
 $ rm -rf dir
+
+# Quilt setup should happily ignore patches and .pc directories
+$ mkdir .pc patches
+$ quilt setup series
+> Unpacking archive dir.tar.gz
+$ rm -rf dir .pc patches
+
 $ quilt setup -d other series
 > Unpacking archive dir.tar.gz
 $ cd other/dir
--
cgit v0.9.0.2
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to