diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.xs | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- fix urpmi segfaulting on 'urpmi foobar.spec' when some files are missing + Version 3.38.2 - 09 November 2011 - fix spec2srcheader() for rpm-4.9.x @@ -3846,8 +3846,8 @@ Urpm_spec2srcheader(specfile) #define SPEC_FORCE 1 #ifdef RPM490 spec = rpmSpecParse(specfile, SPEC_ANYARCH|SPEC_FORCE, NULL); - header = rpmSpecSourceHeader(spec); if (spec) { + header = rpmSpecSourceHeader(spec); #else if (!parseSpec(ts, specfile, "/", NULL, 0, NULL, NULL, SPEC_ANYARCH, SPEC_FORCE)) { #endif |