On Tuesday, 23 January 2018 at 07:36, Igor Gnatenko wrote: > On Mon, 2018-01-22 at 14:33 -0500, Matthew Miller wrote: > > On Sat, Jan 20, 2018 at 02:23:16PM +0100, Igor Gnatenko wrote: > > > What I'm trying to say here is that each time we want to implement > > > some feature in Fedora, we either need to have some replacement in > > > EPEL or diverge Fedora branches from EPEL branches. Having > > > replacement is not always possible, especially if we start utilizing > > > new (actually 8 years old) features of RPM. > > > > I'd really like to see us tend towards coming up with macros that > > provide elegant fallbacks on EPEL. (The %license macro is a good > > example.) > > There is no fallback for rich dependencies. There is no fallback for > filetriggers. Just a wild idea, how about: %if 0%{rhel} && 0%{rhel} < 8 %global recommends Requires %else %global recommends Recommends %endif and then using %{recommends}: foo ? Regards, Dominik -- Fedora https://getfedora.org | RPMFusion http://rpmfusion.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx