Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package quilt for openSUSE:Factory checked 
in at 2022-10-10 18:43:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/quilt (Old)
 and      /work/SRC/openSUSE:Factory/.quilt.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "quilt"

Mon Oct 10 18:43:30 2022 rev:75 rq:1008647 version:0.67

Changes:
--------
--- /work/SRC/openSUSE:Factory/quilt/quilt.changes      2022-09-10 
20:17:19.512834196 +0200
+++ /work/SRC/openSUSE:Factory/.quilt.new.2275/quilt.changes    2022-10-10 
18:43:38.722750208 +0200
@@ -1,0 +2,8 @@
+Thu Oct  6 16:57:34 UTC 2022 - Jean Delvare <jdelv...@suse.com>
+
+- setup-document-the-limitation-of-spec-file-support.patch:
+  Document the fact that "quilt setup" does not support arbitrary
+  %prep sections and some adjustments to the spec file may be
+  needed (boo#1203791).
+
+-------------------------------------------------------------------

New:
----
  setup-document-the-limitation-of-spec-file-support.patch

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

Other differences:
------------------
++++++ quilt.spec ++++++
--- /var/tmp/diff_new_pack.ZiLQUy/_old  2022-10-10 18:43:39.218751276 +0200
+++ /var/tmp/diff_new_pack.ZiLQUy/_new  2022-10-10 18:43:39.222751284 +0200
@@ -39,6 +39,7 @@
 Source:         %{name}-%{version}.tar.bz2
 Source1:        suse-start-quilt-mode.el
 Patch1:         avoid-warnings-with-grep-3.8.patch
+Patch2:         setup-document-the-limitation-of-spec-file-support.patch
 Patch81:        expand.diff
 Patch82:        quilt-support-vimdiff.patch
 Patch83:        test-faildiff-workaround-order-bug.patch
@@ -63,6 +64,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 %patch81 -p1
 %patch82 -p1
 %patch83 -p1

++++++ setup-document-the-limitation-of-spec-file-support.patch ++++++
From: Jean Delvare <jdelv...@suse.de>
Date: Thu, 6 Oct 2022 18:52:52 +0200
Subject: setup: Document the limitation of spec file support
Git-commit: b73e4afa7e4c28a981430c5b80a95254f2ed6b77
Patch-mainline: yes
References: boo#1203791

Quilt setup can't be used on arbitrary spec files. Due to the fact
that quilt only deals with patches, every other modification to the
working tree has to happen first, and the patches must be applied
last.

This is a design limitation and not a bug, but document it so that
the users are aware of it and can adjust the %prep section of their
spec file if needed.

Signed-off-by: Jean Delvare <jdelv...@suse.de>
---
 quilt/setup.in |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

--- a/quilt/setup.in
+++ b/quilt/setup.in
@@ -279,7 +279,13 @@ Initializes a source tree from an rpm sp
 
 --fast Use the new, faster method to process the spec file. In this mode,
        rpmbuild is told to generate a working tree directly in the target
-       directory. This is now the default.
+       directory. This is the default (since quilt version 0.67).
+
+The setup command is only guaranteed to work properly on spec files where
+applying all the patches is the last thing done in the %%prep section. This is
+a design limitation due to the fact that quilt can only operate on patches. If
+other commands in the %%prep section modify the patched files, this must
+happen first, otherwise you won't be able to push the patch series.
 "
                exit 0
        else

Reply via email to