[Rpm-maint] [rpm-software-management/rpm] %prep working directory different when using --build-in-place in Fedora 40 vs Fedora Rawhide (Issue #3208)

Panu Matilainen notifications at github.com
Mon Aug 12 09:42:28 UTC 2024


Relative _foodir for the build stuff was never supported by rpm, it just happened to work in various cases in the past (see #3128, we're considering on making it explicit). The new intermediate build directory in >= 4.20 just means it happens to work for far fewer cases.

I tend to agree that the directory contents should be the same after %setup (which is what does the `cd` to the directory the unpacked sources are in), but then --build-in-place doesn't actually honor any of %setup. So this probably needs an extra 'cd %{buildsubdir}' someplace, I just don't know where. %setup cannot both affect and not affect the result :smile: 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3208#issuecomment-2283520243
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3208/2283520243 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240812/928c18ac/attachment.html>


More information about the Rpm-maint mailing list