On Thu Oct 6, 2022 at 1:35 AM +0200, Miro Hrončok wrote: > On 05. 10. 22 23:24, Kevin Fenzi wrote: > > On Wed, Oct 05, 2022 at 08:40:12PM -0000, Artur Frenszek-Iwicki wrote: > >> Hi all, > >> > >> some time ago I've built the Free Pascal Compiler [0] for EPEL9, > >> and recently I got the idea it might be good to do the same with > >> the Lazarus IDE [1]. Testing things locally with mock, > >> I realized that Lazarus used a macro from fpc-srpm-macros [2], > >> which hasn't been built for EPEL9 yet. > >> > >> No biggie, I thought. I created a side tag, built fpc-srpm-macros there, > >> then added "BuildRequires: fpc-srpm-macros" to the Lazarus spec > >> and tried building it in the side tag. The build failed, and looking at > >> root.log, the fpc-srpm-macros package was not installed [3]. > > > > srpm's are built in a different buildroot koji has defined as > > 'srpm-build'. > > > > You can see whats in this with a 'koji list-groups epel9-build' > > > > So yeah, you need something to pull in that fpc-srpm-macros, > > (likely epel-release) or have it added to the srpm-build group. > > I believe more appropriate package is epel-rpm-macros. > > $ repoquery --repo=epel9 --requires epel-rpm-macros > (pyproject-rpm-macros if python3-rpm-macros) > ansible-srpm-macros > go-srpm-macros-epel > redhat-release >= 9 Yup, this is my understanding as well. In Fedora, *-srpm-macros packages are pulled in by adding having redhat-rpm-config depend on them. Macro packages that we want in EPEL that aren't in RHEL are usually added as dependencies of epel-rpm-macros. -- Maxwell G (@gotmax23) Pronouns: He/Him/His
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ 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, report it: https://pagure.io/fedora-infrastructure/new_issue