diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-11-26 15:03:47 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-11-27 13:49:04 +0200 |
commit | 1bf5c3ff0475e617fafbdec91c256ffb2647b02e (patch) | |
tree | 7c4a31158751849aec4fb172dbeef6d390210026 /gbp-test-native2.data/Add-packaging-files.patch | |
parent | 5f42bfc9950a3a9fb99e19d1502758907d4e9423 (diff) |
Add serialized test package repositories
Direct import of the srcdata/<package>/... branches and tags of the main
repository into serialized per-package repositories.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp-test-native2.data/Add-packaging-files.patch')
-rw-r--r-- | gbp-test-native2.data/Add-packaging-files.patch | 65 |
1 files changed, 65 insertions, 0 deletions
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 + |