Dear Steve,

I usually use smth like
RPM_ARCH=1 RPM_PACKAGE_RELEASE=2 RPM_PACKAGE_VERSION=3 RPM_PACKAGE_NAME=4 make
in this situation and have never got any problem yet.

On Thu, Jun 22, 2023 at 7:58 PM Steve Grubb <sgr...@redhat.com> wrote:
>
> Hello,
>
> I have switched to F38 and find a couple items annoying. I have a workflow 
> that
> checks things I develop out of github, rolls it up into an rpm, builds it,
> and runs the results through annocheck.
>
> If there is a warning I'd like to investigate, I cd into the build directory.
> But oops, now its gone (problem #1). OK, I use rpmbuild -bc  to rebuild it. I
> cd into the build directory make a change and run make.
>
> gcc: fatal error: environment variable 'RPM_ARCH' not defined
>
> (problem #2)
>
> How do I fix these things?
>
> -Steve
>
> _______________________________________________
> 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
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue



-- 
Dmitry Belyavskiy
_______________________________________________
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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to