summaryrefslogtreecommitdiffstats
path: root/RPM4/bin/rpm_produced
diff options
context:
space:
mode:
Diffstat (limited to 'RPM4/bin/rpm_produced')
-rwxr-xr-xRPM4/bin/rpm_produced4
1 files changed, 2 insertions, 2 deletions
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;