[Rpm-maint] [rpm-software-management/rpm] Regression: space handling in %setup (Issue #2335)
Manfred Schwarb
notifications at github.com
Sat Dec 31 13:57:49 UTC 2022
In a package, I have a source file with spaces in it:
Source: Mobile Atlas Creator %{version}.zip
...
%prep
%setup -q -c -n mobac
This used to work fine, and resulted in:
[ 76s] + cd /home/abuild/rpmbuild/BUILD
[ 76s] + rm -rf mobac
[ 76s] + /usr/bin/mkdir -p mobac
[ 76s] + cd mobac
[ 76s] + /usr/bin/unzip -qq '/home/abuild/rpmbuild/SOURCES/Mobile Atlas Creator 2.3.0.zip'
[ 77s] + STATUS=0
But since rpm 4.18, a new tool rpmuncompress is used. This now gives:
[ 38s] + cd /home/abuild/rpmbuild/BUILD
[ 38s] + rm -rf mobac
[ 38s] + /usr/bin/mkdir -p mobac
[ 38s] + cd mobac
[ 38s] + /usr/lib/rpm/rpmuncompress -x /home/abuild/rpmbuild/SOURCES/Mobile Atlas Creator 2.3.0.zip
[ 38s] error: File /home/abuild/rpmbuild/SOURCES/Mobile: No such file or directory
[ 38s] error: Bad exit status from /var/tmp/rpm-tmp.SgyFCX (%prep)
So it seems some argument quoting for rpmuncompress is missing?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2335
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2335 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221231/2e19386f/attachment.html>
More information about the Rpm-maint
mailing list