summaryrefslogtreecommitdiffstats
path: root/RPM4
diff options
context:
space:
mode:
Diffstat (limited to 'RPM4')
-rw-r--r--RPM4/NEWS2
-rwxr-xr-xRPM4/bin/rpm_produced4
2 files changed, 4 insertions, 2 deletions
diff --git a/RPM4/NEWS b/RPM4/NEWS
index 6b6f11d..d2bc453 100644
--- a/RPM4/NEWS
+++ b/RPM4/NEWS
@@ -1,3 +1,5 @@
+- fix running rpm_produced
+
Version 0.36 - 26 October 2016
- fix segfault in testsuite
diff --git a/RPM4/bin/rpm_produced b/RPM4/bin/rpm_produced
index 09dcfc4..fee3cb7 100755
--- a/RPM4/bin/rpm_produced
+++ b/RPM4/bin/rpm_produced
@@ -61,7 +61,7 @@ foreach my $file (@ARGV) {
set_config();
$file =~ m/\.src\.rpm$/ and do {
if(my ($specfile) = RPM4::installsrpm($file)) {
- if (my $spec = RPM4::specnew($specfile, undef, undef, undef, 1, 1)) {
+ if (my $spec = RPM4::specnew($specfile, undef, undef)) {
specquery($spec);
$spec->build([qw(RMSOURCE RMSPEC)]);
}
@@ -69,7 +69,7 @@ foreach my $file (@ARGV) {
next;
};
$file =~ m/\.spec$/ and do {
- if (my $spec = RPM4::specnew($file, undef, undef, undef, 1, 1)) {
+ if (my $spec = RPM4::specnew($file, undef, undef)) {
specquery($spec);
}
next;