Even simpler -- only one line of code needs to change -- would be to define
_buildsubdir only if it is not already defined.
That might even permit overriding _buildsubdir to be set from the spec file, or
-- with Yet Another POPT alias -- from the rpmbuild command line.
And of course %setup becomes even more complex and counter intuitive because
the behavior then starts to be convolved with how a spec file is written, or
how rpmbuild is invoked.
And %setup then starts to diverge from documented 20yo behavior.
(aside)
I recommend these solutions merely to shut you up and watch this RFE be closed:
I'm tired of your pontifications about rpm's unfriendly user behavior that do
not include PR's.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/551#issuecomment-424182018
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint