aboutsummaryrefslogtreecommitdiff
path: root/gbp-test2.data/packaging-reflect-the-corrected-patch-number-handling.patch
blob: 971510c5595a475d97210c96c0f05ada2749ac45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Date: Fri, 11 Jan 2013 11:41:00 +0200
Subject: [PATCH] packaging: reflect the corrected patch number handling

Fix spec files as GBP now treats 'Patch:' as patch number -1, instead of
0.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>

diff --git a/packaging/gbp-test2-alt.spec b/packaging/gbp-test2-alt.spec
index 54a8f0e..90dab7c 100644
--- a/packaging/gbp-test2-alt.spec
+++ b/packaging/gbp-test2-alt.spec
@@ -8,7 +8,7 @@ License:    GPLv2
 Source10:   ftp://ftp.host.com/%{name}-%{version}.tar.gz
 Source0:    foo.txt
 Source20:   bar.tar.gz
-# Gbp-Ignore-Patches: -1
+# Gbp-Ignore-Patches: 0
 Patch0:     my.patch
 Patch10:    http://example.com/patches/my2.patch
 Patch20:    my3.patch
diff --git a/packaging/gbp-test2.spec b/packaging/gbp-test2.spec
index fa28beb..95c3dc2 100644
--- a/packaging/gbp-test2.spec
+++ b/packaging/gbp-test2.spec
@@ -9,7 +9,7 @@ Source10:   ftp://ftp.host.com/%{name}-%{version}.tar.gz
 Source0:    foo.txt
 Source20:   bar.tar.gz
 Source9999: gbp-test2-alt.spec
-# Gbp-Ignore-Patches: -1
+# Gbp-Ignore-Patches: 0
 Patch0:     my.patch
 Patch10:    http://example.com/patches/my2.patch
 Patch20:    my3.patch