aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-12-19 10:52:51 +0000
committerThierry Vignaud <tv@mageia.org>2011-12-19 10:52:51 +0000
commit694055fd7e72dd9c956cc28780f76c11504575b1 (patch)
treeb06ee30b4315cadaa05ceb4d5ff5ff14f43335bd /URPM.xs
parent1a4fe8f6c9c56ea226036a2532a1fa3efc32e6d4 (diff)
downloadperl-URPM-694055fd7e72dd9c956cc28780f76c11504575b1.tar
perl-URPM-694055fd7e72dd9c956cc28780f76c11504575b1.tar.gz
perl-URPM-694055fd7e72dd9c956cc28780f76c11504575b1.tar.bz2
perl-URPM-694055fd7e72dd9c956cc28780f76c11504575b1.tar.xz
perl-URPM-694055fd7e72dd9c956cc28780f76c11504575b1.zip
(Urpm_spec2srcheader) fix parsing a spec file with rpm-4.9
(regression introduced when adding support for rpm-4.9) (TODO: add a regression test in the testsuite)
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 63d3671..cd9afad 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3843,7 +3843,7 @@ Urpm_spec2srcheader(specfile)
/* Do not verify whether sources exist */
#define SPEC_FORCE 1
#ifdef RPM490
- spec = rpmSpecParse(specfile, SPEC_ANYARCH|SPEC_FORCE, NULL);
+ spec = rpmSpecParse(specfile, RPMSPEC_ANYARCH|RPMSPEC_FORCE, NULL);
if (spec) {
header = rpmSpecSourceHeader(spec);
#else