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 | |
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)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.xs | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- fix parsing a spec file with rpm-4.9 + (regression introduced when adding support for rpm-4.9) - enable to traverse db by fullname - fix slow matching of individual regexes for skipping dependencies by creating a large regex to match them all at once (mdv#61389, Shlomi Fish) @@ -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 |