Re: Packaging for EPEL8 with gcc-9+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This works, thank you: https://koji.fedoraproject.org/koji/taskinfo?taskID=67775500

12 мая 2021 г., в 18:45, Gary Buhrmaster <gary.buhrmaster@xxxxxxxxx> написал(а):

On Wed, May 12, 2021 at 9:49 AM Евгений Пивнев <ti.eugene@xxxxxxxxx> wrote:

Is there any real package .spec that use cc-toolset-9 as example?
SCL documentation is too extensive and mostly about creating new SCL,
I cannot find short description how simply to make one new package using modern C++.


Not sure if it is a real package (or if this
is even the way it should be done), but I
have seen the following in spec files
along with the needed (for your package)
(%if ...) tests for epel8.

 BuildRequires:  gcc-toolset-9

and at the top of the %build section:

 source scl_source enable gcc-toolset-9 >/dev/null 2>/dev/null && true || true

As I recall, depend on what that package
requires/is doing in other sections one may
also need to do the same source scl_source
in those sections.

Good luck.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux