For reference, I've found an ugly hack to work around some of these issues on
RPM 4.11.3 (RHEL7).
Example macros that work in current RPM but break in RPM 4.11.3:
```
%define nested() %{echo:%{?1}}
%define outer() %{nested -- %{?1}}
%{outer -- test}
```
(In 4.11.3, `%{?1}` in the `nested` macro e
Some source packages assume that BuildRequires are installed before %prep is
executed. For example, `openssh` BuildRequires `automake` and runs
`autoreconf` in %prep.
Prior to 11c56d5 `rpmbuild -bp` checked BuildRequires and printed a helpful
error message if there were any missing dependencie
... Looking at this again more closely ... It looks like a the BuildRequires
checks have been moved after %prep in a lot of other places.
Should this be considered a bug in `openssh` instead? (Should `autoreconf` be
moved to the new %conf section to fix this?)
--
Reply to this email directly