diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-01-11 16:41:38 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-05 14:20:06 +0300 |
commit | 821251cbd8d7076e49729ac88eabd92265caedec (patch) | |
tree | fa534727e095d009cf0de865adf09dbfbbaf12a6 /tests/test_rpm_data | |
parent | aecfc649d6825acc147f3009577bfeb688bdc874 (diff) | |
download | git-buildpackage-821251cbd8d7076e49729ac88eabd92265caedec.tar.gz git-buildpackage-821251cbd8d7076e49729ac88eabd92265caedec.tar.bz2 git-buildpackage-821251cbd8d7076e49729ac88eabd92265caedec.zip |
rpm.SpecFile: drop the internal 'patches' structure
To get rid of duplicate data tracking. Also, add test for testing the
macro expansion of patch and source names.
Also add tests for SpecFile.patchseries.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'tests/test_rpm_data')
-rw-r--r-- | tests/test_rpm_data/specs/gbp-test-tags.spec | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_rpm_data/specs/gbp-test-tags.spec b/tests/test_rpm_data/specs/gbp-test-tags.spec index 47421a9d..ee4c2b94 100644 --- a/tests/test_rpm_data/specs/gbp-test-tags.spec +++ b/tests/test_rpm_data/specs/gbp-test-tags.spec @@ -9,6 +9,9 @@ %define test_arch_os_tags %(test -n "$GBP_SKIP_ARCH_OS_TAGS" && echo 0 || echo 1) +%define source_fn_base source +%define patch_fn_base patch + # Gbp-Undefined-Tag: foobar # Test that we accept different cases @@ -27,8 +30,8 @@ Packager: my_packager Url: my_url Vcs: my_vcs Source: my_source -Patch: my_patch -Patch0: my_patch0 +Patch: my_%patch_fn_base +Patch0: my_%{patch_fn_base}0 Nosource: 0 Nopatch: 0 #Icon: my_icon |