aboutsummaryrefslogtreecommitdiff
path: root/gbp-test-native2.data
diff options
context:
space:
mode:
Diffstat (limited to 'gbp-test-native2.data')
-rw-r--r--gbp-test-native2.data/Add-gbp.conf.patch24
-rw-r--r--gbp-test-native2.data/Add-packaging-files.patch65
-rw-r--r--gbp-test-native2.data/Repository-initialization.patch0
-rw-r--r--gbp-test-native2.data/manifest.json48
4 files changed, 137 insertions, 0 deletions
diff --git a/gbp-test-native2.data/Add-gbp.conf.patch b/gbp-test-native2.data/Add-gbp.conf.patch
new file mode 100644
index 0000000..89180e3
--- /dev/null
+++ b/gbp-test-native2.data/Add-gbp.conf.patch
@@ -0,0 +1,24 @@
+From: Markus Lehtonen <markus.lehtonen@linux.intel.com>
+Date: Thu, 8 Nov 2012 19:49:51 +0200
+Subject: [PATCH] Add gbp.conf
+
+Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
+---
+ .gbp.conf | 5 +++++
+ 1 file changed, 5 insertions(+)
+ create mode 100644 .gbp.conf
+
+diff --git a/.gbp.conf b/.gbp.conf
+new file mode 100644
+index 0000000..f6e0645
+--- /dev/null
++++ b/.gbp.conf
+@@ -0,0 +1,5 @@
++[DEFAULT]
++vendor = Test-Distro
++packaging-branch = srcdata/gbp-test-native2/master
++packaging-tag = srcdata/gbp-test-native2/release/%(version)s
++
+--
+2.1.4
+
diff --git a/gbp-test-native2.data/Add-packaging-files.patch b/gbp-test-native2.data/Add-packaging-files.patch
new file mode 100644
index 0000000..0e7a77a
--- /dev/null
+++ b/gbp-test-native2.data/Add-packaging-files.patch
@@ -0,0 +1,65 @@
+From: Markus Lehtonen <markus.lehtonen@linux.intel.com>
+Date: Thu, 8 Nov 2012 14:33:51 +0200
+Subject: [PATCH] Add packaging files
+
+Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
+---
+ foo.txt | 3 +++
+ gbp-test-native2.spec | 35 +++++++++++++++++++++++++++++++++++
+ 2 files changed, 38 insertions(+)
+ create mode 100644 foo.txt
+ create mode 100644 gbp-test-native2.spec
+
+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-native2.spec b/gbp-test-native2.spec
+new file mode 100644
+index 0000000..34fd33d
+--- /dev/null
++++ b/gbp-test-native2.spec
+@@ -0,0 +1,35 @@
++Name: gbp-test-native2
++Summary: Test package for git-buildpackage
++Version: 2.0
++Release: 0
++Group: Development/Libraries
++License: GPLv2
++Source: foo.txt
++BuildRequires: unzip
++
++%description
++Package for testing the RPM functionality of git-buildpackage.
++Mimics a "native" package that doesn't have any source tarball.
++
++
++%prep
++# Just create build dir
++%setup -T -c
++cp %{SOURCE0} .
++
++
++%build
++# Nothing to do
++
++
++%install
++rm -rf %{buildroot}
++mkdir -p %{buildroot}/%{_datadir}/%{name}
++cp -R * %{buildroot}/%{_datadir}/%{name}
++
++
++
++%files
++%defattr(-,root,root,-)
++%dir %{_datadir}/%{name}
++%{_datadir}/%{name}
+--
+2.1.4
+
diff --git a/gbp-test-native2.data/Repository-initialization.patch b/gbp-test-native2.data/Repository-initialization.patch
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gbp-test-native2.data/Repository-initialization.patch
diff --git a/gbp-test-native2.data/manifest.json b/gbp-test-native2.data/manifest.json
new file mode 100644
index 0000000..e8fb58e
--- /dev/null
+++ b/gbp-test-native2.data/manifest.json
@@ -0,0 +1,48 @@
+{
+ "commits": {
+ "3da6930adaaef1cf7c67c97244d72a4aaef13f00": {
+ "committer": "Markus Lehtonen <markus.lehtonen@linux.intel.com> 1377528551 +0300",
+ "sha1": "3da6930adaaef1cf7c67c97244d72a4aaef13f00",
+ "patchfile": "Add-packaging-files.patch",
+ "author": "Markus Lehtonen <markus.lehtonen@linux.intel.com> 1352378031 +0200",
+ "tree": "e5f3bbd020b2beae3bfde712e51b8a65f1748b26",
+ "parents": [
+ "489308b880d5f722b7d9b9b2e65c3e856f60c641"
+ ],
+ "message": "Add packaging files\n\nSigned-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>"
+ },
+ "489308b880d5f722b7d9b9b2e65c3e856f60c641": {
+ "committer": "Markus Lehtonen <markus.lehtonen@linux.intel.com> 1377528551 +0300",
+ "sha1": "489308b880d5f722b7d9b9b2e65c3e856f60c641",
+ "patchfile": "Add-gbp.conf.patch",
+ "author": "Markus Lehtonen <markus.lehtonen@linux.intel.com> 1352396991 +0200",
+ "tree": "cbd0f889baa0d487d34f2318efb418bbfdbbf682",
+ "parents": [
+ "0579e0753b78476ad822c54b6ea07e2e80c0cdd2"
+ ],
+ "message": "Add gbp.conf\n\nSigned-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>"
+ },
+ "0579e0753b78476ad822c54b6ea07e2e80c0cdd2": {
+ "committer": "Markus Lehtonen <markus.lehtonen@linux.intel.com> 1352272349 +0200",
+ "sha1": "0579e0753b78476ad822c54b6ea07e2e80c0cdd2",
+ "patchfile": "Repository-initialization.patch",
+ "author": "Markus Lehtonen <markus.lehtonen@linux.intel.com> 1352272349 +0200",
+ "tree": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
+ "message": "Repository initialization\n\nSigned-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>"
+ }
+ },
+ "refs": {
+ "refs/tags/srcdata/gbp-test-native2/release/2.0-0": "d65c4acb5a586d19a433358b3e3ec94211edbff2",
+ "refs/heads/srcdata/gbp-test-native2/master": "3da6930adaaef1cf7c67c97244d72a4aaef13f00"
+ },
+ "HEAD": "ref: refs/heads/srcdata/gbp-test-native2/master\n",
+ "tags": {
+ "d65c4acb5a586d19a433358b3e3ec94211edbff2": {
+ "tagger": "Markus Lehtonen <markus.lehtonen@linux.intel.com> 1377528598 +0300",
+ "message": "Test-Distro release 2.0-0",
+ "tag": "srcdata/gbp-test-native2/release/2.0-0",
+ "type": "commit",
+ "object": "3da6930adaaef1cf7c67c97244d72a4aaef13f00"
+ }
+ }
+} \ No newline at end of file