SHA256
1
0
forked from pool/quilt

- Change the rpm group. Quilt is a development tool, not a text

file editor.
- We don't need procmail to build quilt.
- patch-wrapper-rpm.diff: Add a decription and upstream reference.
- mail-fix-patch-set-threading.patch: mail: Fix patch set threading
  (regression in version 0.64, savannah bug #50775.)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/quilt?expand=0&rev=109
This commit is contained in:
Jean Delvare 2017-04-14 12:22:23 +00:00 committed by Git OBS Bridge
parent b25cd4d8ae
commit 43578af36f
4 changed files with 55 additions and 3 deletions

View File

@ -0,0 +1,31 @@
From: Jean Delvare <jdelvare@suse.de>
Date: Fri, 14 Apr 2017 09:07:51 +0200
Subject: mail: Fix patch set threading
Git-commit: 360b85e1f6b6d1aff5ada942fcee816e1ad7a13c
Patch-mainline: yes
Let patches reference the introduction message so that the patch set
is properly threaded by MUA. This used to work but was broken by
accident.
This fixes bug #50775:
https://savannah.nongnu.org/bugs/index.php?50775
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Fixes: 1d659bebaf3d ("quilt/mail: Remove procmail dependency")
Tested-by: Okash Khawaja <okash.khawaja@gmail.com>
Acked-by: Kent R. Spillner <kspillner@acm.org>
diff --git a/quilt/mail.in b/quilt/mail.in
index 046b502..80fabe8 100644
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -95,7 +95,7 @@ extract_header_value()
# Long Header Fields may span multiple lines, in which case CRLF
# is followed by space or tab (RFC 2822)
- sed -n "/^${header}/,/^[^[:blank:]]/ { /^${header}/ { s/^${header}//p; n; }; /^[^[:blank:]]/q; /^$/q; p; }"
+ sed -ne "/^${header}/I,/^[^[:blank:]]/ { /^${header}/I { s/^${header}//I; p; n; }; /^[^[:blank:]]/q; /^$/q; p; }"
}
# See RFC 2822 Internet Message Format for how the In-Reply-To and

View File

@ -1,3 +1,13 @@
From: Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
Date: Thu, 1 Dec 2016 11:15:48 +0100
Subject: patch-wrapper: Make the patch names that quilt shows more convenient
Git-commit: 1cde19389bc5805da713361ac32869388e42f592
Patch-mainline: yes
When operating on an rpm package, create links to the rpm sources and
build directories and make patch names relative to these links. This is
more convenient than using ugly absolute paths.
--- a/bin/patch-wrapper.in --- a/bin/patch-wrapper.in
+++ b/bin/patch-wrapper.in +++ b/bin/patch-wrapper.in
@@ -28,7 +28,7 @@ fi @@ -28,7 +28,7 @@ fi

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Apr 14 13:56:29 CEST 2017 - jdelvare@suse.de
- Change the rpm group. Quilt is a development tool, not a text
file editor.
- We don't need procmail to build quilt.
- patch-wrapper-rpm.diff: Add a decription and upstream reference.
- mail-fix-patch-set-threading.patch: mail: Fix patch set threading
(regression in version 0.64, savannah bug #50775.)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 10 10:34:09 CET 2016 - jdelvare@suse.de Thu Nov 10 10:34:09 CET 2016 - jdelvare@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package quilt # spec file for package quilt
# #
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -21,11 +21,10 @@ Version: 0.65
Release: 0 Release: 0
Summary: A Tool for Working with Many Patches Summary: A Tool for Working with Many Patches
License: GPL-2.0+ License: GPL-2.0+
Group: Productivity/Text/Utilities Group: Development/Tools/Version Control
BuildRequires: diffstat BuildRequires: diffstat
BuildRequires: ed BuildRequires: ed
BuildRequires: emacs-nox BuildRequires: emacs-nox
BuildRequires: procmail
Requires: coreutils Requires: coreutils
Requires: diffstat Requires: diffstat
Requires: diffutils Requires: diffutils
@ -43,6 +42,7 @@ Patch1: expand.diff
Patch2: quilt-support-vimdiff.patch Patch2: quilt-support-vimdiff.patch
Patch3: patch-wrapper-rpm.diff Patch3: patch-wrapper-rpm.diff
Patch4: suse-workaround-pseudo-release.patch Patch4: suse-workaround-pseudo-release.patch
Patch5: mail-fix-patch-set-threading.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} %if 0%{?suse_version}
@ -65,6 +65,7 @@ un-applied, refreshed, and more.
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
%patch4 -p1 %patch4 -p1
%patch5 -p1
%build %build
# --with-rpmbuild=/usr/lib/rpm/rpmb: # --with-rpmbuild=/usr/lib/rpm/rpmb: