On 3/27/20 1:32 PM, Miro Hrončok wrote:
 >
The conditional approach will only allow this:

   %if 0%{?rhel}
   Version: 7.4.5
   %else
   Version: 8.0.0~rc1
   %endif

(And I assume the rest of the spec file would need major %if/%else mess as well, because Brainfuck 8 is built with meson, while Brainfuck 7 is built with autotools. Or the implementation language changed from C to Rust...)

And trust me, you don't want to maintain that. It is not maintainable. And it has problems like this:
   https://pagure.io/copr/copr/issue/1315


Ough.

        - Panu -
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to