[Rpm-maint] [rpm-software-management/rpm] `%build -a` and `%install -a` overwrite build/installation instructions from `%buildsystem_*_*` (Issue #3024)

Panu Matilainen notifications at github.com
Tue Apr 9 07:57:33 UTC 2024


Hmm, ugh. We have a test for this very scenario (%build -a) in the test-suite, but looking closer indeed the buildsystem %build is lost. It's just that autotools "make install" masks the issue by building automatically since not already done. We also have bunch of other tests for -a/-p modes, so this is just a bad interaction between the buildsystem stuff and append/prepend. Which does mean the buildsystem thing is rather broken in the alpha then :unamused: 

Thanks for the report!

Another buildsystem related breakage spotted while looking at this is that on Fedora there's this old hack around %install which breaks with -a:

```
%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
%%install\
%{nil}
```

That can probably be worked around in the macro, but we also may want to shoot for an expedited fix to #2204 



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

Message ID: <rpm-software-management/rpm/issues/3024/2044376454 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240409/63e0f05e/attachment.html>


More information about the Rpm-maint mailing list