On Tuesday, August 11, 2020 2:47:19 AM CEST PGNet Dev wrote:
> stderr: error: line 1: Unknown tag: %{_pgnd_macros}
> can't parse specfile
>
> here's a specific example,
>
> https://copr.fedorainfracloud.org/coprs/pgfed/redis-6/build/1601289/
>
> https://download.copr.fedorainfracloud.org/results/pgfed/redis-6/srpm-builds/01601289/builder-live.log.gz
>
> what additional/changed config is required to get my 'other' COPR builds to
> correctly include/use my DIY-macros?
Usually it is enough to use '%{?_pgnd_macros}' variant (see the question
mark). For the purpose of generating source RPM, the macros aren't
usually needed.
In Copr, the additional buildroot packages (you specified) don't affect
the source RPM buildroot (there's no custom control of the source RPM
buildroot yet in Copr, you can not even decide what fedora version it
should be based on).
Btw., similar problems happen all the time even in Koji, because
BuildRequires are often specified to bring-in build-time macros; but at
srpm build time there are no BuildRequries installed (compared to the
binary RPMs build time).
Pavel
_______________________________________________
buildsys mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]