diff options
Diffstat (limited to 'gbp-test.data/Add-initial-packaging-files.patch')
-rw-r--r-- | gbp-test.data/Add-initial-packaging-files.patch | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/gbp-test.data/Add-initial-packaging-files.patch b/gbp-test.data/Add-initial-packaging-files.patch new file mode 100644 index 0000000..964ce9d --- /dev/null +++ b/gbp-test.data/Add-initial-packaging-files.patch @@ -0,0 +1,134 @@ +From: Markus Lehtonen <markus.lehtonen@linux.intel.com> +Date: Thu, 8 Nov 2012 19:12:21 +0200 +Subject: [PATCH] Add initial packaging files + +Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> +--- + bar.tar.gz | Bin 0 -> 177 bytes + foo.txt | 3 +++ + gbp-test.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ + my.patch | 9 +++++++++ + my2.patch | 7 +++++++ + my3.patch | 7 +++++++ + 6 files changed, 68 insertions(+) + create mode 100644 bar.tar.gz + create mode 100644 foo.txt + create mode 100644 gbp-test.spec + create mode 100644 my.patch + create mode 100644 my2.patch + create mode 100644 my3.patch + +diff --git a/bar.tar.gz b/bar.tar.gz +new file mode 100644 +index 0000000000000000000000000000000000000000..f5dae8035202d6206a72803f35b756e8fbcb1d6c +GIT binary patch +literal 177 +zcmb2|=3oe$-XFlg{Pvt9Uz34I%foe+M|U?Y3Ej|XZQEqNf@_H&tG8#*a`B^EtqUIh +zSJl^_d?txcZ^=iwt5d!t%uQXNpR?}%&7R7Xtw!E+*RF}oOukZJw%zN?lGS#<^mZvM +z($l+B_5a5uZ71{N3o74k`|Uev%09g%IZa0vb^nX<%+SB|HTQOlhOg$-{%+^@uY+Ir +arH6}VetLbE0U3OFKX1)<rOyl+3=9C`8d6&T + +literal 0 +HcmV?d00001 + +diff --git a/foo.txt b/foo.txt +new file mode 100644 +index 0000000..25ed442 +--- /dev/null ++++ b/foo.txt +@@ -0,0 +1,3 @@ ++FOO: ++ ++file for testing rpm support of git-buildpackage. +diff --git a/gbp-test.spec b/gbp-test.spec +new file mode 100644 +index 0000000..c46a734 +--- /dev/null ++++ b/gbp-test.spec +@@ -0,0 +1,42 @@ ++Name: gbp-test ++Summary: Test package for git-buildpackage ++Version: 1.0 ++Release: 1 ++Group: Development/Libraries ++License: GPLv2 ++Source: %{name}-%{version}.tar.bz2 ++Source1: foo.txt ++Source20: bar.tar.gz ++# Gbp-Ignore-Patches: 0 ++Patch0: my.patch ++Patch10: my2.patch ++Patch20: my3.patch ++ ++ ++%description ++Package for testing the RPM functionality of git-buildpackage. ++ ++ ++%prep ++%setup -n %{name} -a 20 ++ ++%patch0 ++%patch10 -p1 ++ ++ ++%build ++make ++ ++ ++%install ++rm -rf %{buildroot} ++mkdir -p %{buildroot}/%{_datadir}/%{name} ++cp -R * %{buildroot}/%{_datadir}/%{name} ++install %{SOURCE0} %{buildroot}/%{_datadir}/%{name} ++ ++ ++ ++%files ++%defattr(-,root,root,-) ++%dir %{_datadir}/%{name} ++%{_datadir}/%{name} +diff --git a/my.patch b/my.patch +new file mode 100644 +index 0000000..50870df +--- /dev/null ++++ b/my.patch +@@ -0,0 +1,9 @@ ++diff --git a/dummy.sh b/dummy.sh ++index 8c33db6..6f04268 100755 ++--- dummy.sh +++++ dummy.sh ++@@ -1,3 +1,3 @@ ++ #!/bin/sh ++ ++-echo "Hello world" +++echo "Hello GBP" +diff --git a/my2.patch b/my2.patch +new file mode 100644 +index 0000000..ad5ca2d +--- /dev/null ++++ b/my2.patch +@@ -0,0 +1,7 @@ ++diff --git a/mydir/myfile.txt b/mydir/myfile.txt ++new file mode 100644 ++index 0000000..2cdad29 ++--- /dev/null +++++ b/mydir/myfile.txt ++@@ -0,0 +1 @@ +++Dummy +diff --git a/my3.patch b/my3.patch +new file mode 100644 +index 0000000..9fee859 +--- /dev/null ++++ b/my3.patch +@@ -0,0 +1,7 @@ ++diff --git a/README b/README ++index a1311cb..a59f1b9 100644 ++--- a/README +++++ b/README ++@@ -1 +1 @@ ++-Just for testing git-buildpackage. +++Just for testing GBP. +-- +2.1.4 + |