diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-12-19 10:52:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-12-19 10:52:51 +0000 |
commit | 694055fd7e72dd9c956cc28780f76c11504575b1 (patch) | |
tree | b06ee30b4315cadaa05ceb4d5ff5ff14f43335bd /URPM.xs | |
parent | 1a4fe8f6c9c56ea226036a2532a1fa3efc32e6d4 (diff) | |
download | perl-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.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |