diff options
Diffstat (limited to 'RPM4')
-rw-r--r-- | RPM4/NEWS | 2 | ||||
-rw-r--r-- | RPM4/src/RPM4.xs | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- make Spec->build works with rpm-4.9 + Version 0.26 - 21 December 2011 - fix for a random segfault diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index ca75358..99c251e 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -444,7 +444,9 @@ int _specbuild(rpmts ts, rpmSpec spec, SV * sv_buildflags) { rpmBuildFlags buildflags = sv2rpmbuildflags(sv_buildflags); if (buildflags == RPMBUILD_NONE) croak("No action given for build"); #ifdef RPM4_9_0 - return rpmSpecBuild(spec, buildflags); + BTA_t flags = calloc(1, sizeof(*flags)); + flags->buildAmount = buildflags; + return rpmSpecBuild(spec, flags); #else return buildSpec(ts, spec, buildflags, 0); #endif |