aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2022-04-26 19:46:03 +0000
committerPascal Terjan <pterjan@mageia.org>2022-04-26 19:46:03 +0000
commit84b709bad5d60a0da907e1db6036e89db6ef20da (patch)
tree0cc4a908a168a51ebdff97153427f26a842ff4d3
parentcef4f68aedff52d0bfbc9dca867d3d7724a7020b (diff)
downloadiurt-84b709bad5d60a0da907e1db6036e89db6ef20da.tar
iurt-84b709bad5d60a0da907e1db6036e89db6ef20da.tar.gz
iurt-84b709bad5d60a0da907e1db6036e89db6ef20da.tar.bz2
iurt-84b709bad5d60a0da907e1db6036e89db6ef20da.tar.xz
iurt-84b709bad5d60a0da907e1db6036e89db6ef20da.zip
iurt: Fix src.rpm name (mga#30344)0.7.17.1
-rw-r--r--NEWS3
-rwxr-xr-xiurt2
-rw-r--r--lib/Iurt/Urpmi.pm2
3 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index d6d0bde..faaa2bb 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+0.7.17.1
+- iurt: Fix src.rpm name (mga#30344)
+
0.7.17:
- iurt: record the list of generated packages
- iurt: allow generated src.rpm to have a different name, some packages use
diff --git a/iurt b/iurt
index 7aeae4d..c5bdb51 100755
--- a/iurt
+++ b/iurt
@@ -324,7 +324,7 @@ plog_init($program_name, $run{logfd} || $LOG, 7, 1); # For parsing command line
# Display version information
#
-my $version = '0.7.17';
+my $version = '0.7.17.1';
plog("MSG", "This is iurt version $version");
my $todo = parseCommandLine($program_name, \@ARGV, \@params);
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index 4214893..7cce25e 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -538,7 +538,7 @@ sub recreate_srpm {
plog("ERROR: failed to get the name of the generated src.rpm");
return;
}
- my $file = "$chroot_tmp/home/$luser/rpmbuild/SRPMS/$generated_srpm_name.src.rpm";
+ my $file = "$chroot_tmp/home/$luser/rpmbuild/SRPMS/$generated_srpm_name";
my ($new_srpm) = basename($file);
my $prefix = get_package_prefix($srpm);
my $newfile = "$chroot_tmp/home/$luser/rpmbuild/SRPMS/$prefix$new_srpm";