Re: Help needed: declarative macros in build system

2025-05-31 Thread Neal Gompa
On Sat, May 31, 2025 at 8:39 AM Björn Persson wrote: > > Peter Lemenkov wrote: > > The issue is that these > > macros must be available during the BuildFromSRPM stage, and I have no > > idea how to make that happen. I looked at the pyproject macros and > > noticed they use *-macros-srpm package (y

Re: Help needed: declarative macros in build system

2025-05-31 Thread Björn Persson
Peter Lemenkov wrote: > The issue is that these > macros must be available during the BuildFromSRPM stage, and I have no > idea how to make that happen. I looked at the pyproject macros and > noticed they use *-macros-srpm package (yet another entirely > undocumented detail — why do we need these i

Re: Help needed: declarative macros in build system

2025-05-31 Thread Neal Gompa
On Sat, May 31, 2025 at 7:38 AM Peter Lemenkov wrote: > > Hi everyone, > > I have to admit — I almost gave up! I can’t figure out how to add > declarative macros to another build system, and it’s nowhere to be > found in the documentation. Let me share my sad story. > > I added the necessary macro