aboutsummaryrefslogtreecommitdiff
path: root/gbp-test2.data/packaging-add-alternative-spec-file-and-change-patch-p.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gbp-test2.data/packaging-add-alternative-spec-file-and-change-patch-p.patch')
-rw-r--r--gbp-test2.data/packaging-add-alternative-spec-file-and-change-patch-p.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/gbp-test2.data/packaging-add-alternative-spec-file-and-change-patch-p.patch b/gbp-test2.data/packaging-add-alternative-spec-file-and-change-patch-p.patch
index 1295be9..0cf6d94 100644
--- a/gbp-test2.data/packaging-add-alternative-spec-file-and-change-patch-p.patch
+++ b/gbp-test2.data/packaging-add-alternative-spec-file-and-change-patch-p.patch
@@ -21,7 +21,7 @@ index 3d5f92d..6c8e847 100644
diff --git a/packaging/gbp-test2-alt.spec b/packaging/gbp-test2-alt.spec
new file mode 100644
-index 0000000..155ea43
+index 0000000..54a8f0e
--- /dev/null
+++ b/packaging/gbp-test2-alt.spec
@@ -0,0 +1,48 @@
@@ -33,10 +33,10 @@ index 0000000..155ea43
+Group: Development/Libraries
+License: GPLv2
+Source10: ftp://ftp.host.com/%{name}-%{version}.tar.gz
-+Source: foo.txt
++Source0: foo.txt
+Source20: bar.tar.gz
-+# Gbp-Ignore-Patches: 0
-+Patch: my.patch
++# Gbp-Ignore-Patches: -1
++Patch0: my.patch
+Patch10: http://example.com/patches/my2.patch
+Patch20: my3.patch
+Packager: Markus Lehtonen <markus.lehtonen@linux.intel.com>
@@ -74,16 +74,16 @@ index 0000000..155ea43
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}
diff --git a/packaging/gbp-test2.spec b/packaging/gbp-test2.spec
-index 61aae33..eec5d26 100644
+index 5121f17..fa28beb 100644
--- a/packaging/gbp-test2.spec
+++ b/packaging/gbp-test2.spec
@@ -8,9 +8,10 @@ License: GPLv2
Source10: ftp://ftp.host.com/%{name}-%{version}.tar.gz
- Source: foo.txt
+ Source0: foo.txt
Source20: bar.tar.gz
+Source9999: gbp-test2-alt.spec
- # Gbp-Ignore-Patches: 0
- Patch: my.patch
+ # Gbp-Ignore-Patches: -1
+ Patch0: my.patch
-Patch10: my2.patch
+Patch10: http://example.com/patches/my2.patch
Patch20: my3.patch