diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-12-16 11:39:46 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-12-16 15:11:44 +0100 |
commit | d9a5319ae466f71397a265df10704a37104cbdec (patch) | |
tree | 1fc812075cd1f758847e6f469d31ce160c22e77f /tests/data | |
parent | 5aaec4ffa9f77537a17fc00d9892680015a1f90b (diff) |
rpm.SpecFile: support %autosetup
Try to do "the right thing" when %autosetup macro is used in the spec
file. That is, do not examine/manage %patch macros at all, but, assume
that patches are handled by %autosetup which was introduced in RPM
v4.11.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/rpm/specs/gbp-test3.spec | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/data/rpm/specs/gbp-test3.spec b/tests/data/rpm/specs/gbp-test3.spec new file mode 100644 index 00000000..c0c20c8c --- /dev/null +++ b/tests/data/rpm/specs/gbp-test3.spec @@ -0,0 +1,32 @@ +Name: gbp-test3 +Summary: Test package 3 for git-buildpackage +Version: 1.0 +Release: 0 +Group: Development/Libraries +License: GPLv2 +Source: %{name}-%{version}.tar.gz +# Gbp-Ignore-Patches: 10 +Patch: my.patch +Patch10: my2.patch +Patch20: my3.patch + +%description +Another test package for git-buildpackage. + + +%prep +%autosetup -n %{name}-%{version} + + +%build +make + + +%install +mkdir -p %{buildroot}/%{_datadir}/%{name} + + +%files +%defattr(-,root,root,-) +%dir %{_datadir}/%{name} +%{_datadir}/%{name} |