Re: [Rpm-maint] [rpm-software-management/rpm] Including a file, expanding the macros in it and writing the result to another file? (Discussion #2912)

2024-02-15 Thread ニール・ゴンパ
This should do the trick: ``` cat > expanded

[Rpm-maint] [rpm-software-management/rpm] Including a file, expanding the macros in it and writing the result to another file? (Discussion #2912)

2024-02-15 Thread Daan De Meyer
I'm trying to include a file with macros in it, expand those macros and write the result to another file. My last attempt that doesn't work is the following: ``` echo "%{expand:%include %{SOURCE203}}" > expanded ``` If SOURCE203 contains the following: ``` %{_unitdir}/systemd-coredump.socket

Re: [Rpm-maint] [rpm-software-management/rpm] Add "local_generator" (PR #2734)

2024-02-15 Thread Florian Festi
Merged as #2911 Thanks for the patch! -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2734#issuecomment-1945539722 You are receiving this because you are subscribed to this thread. Message ID:

Re: [Rpm-maint] [rpm-software-management/rpm] Add "local_generator" (PR #2734)

2024-02-15 Thread Florian Festi
Closed #2734. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2734#event-11811695188 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] [RFE] Execute dependency generators on the .spec file which ships them (#782)

2024-02-15 Thread Florian Festi
Closed #782 as completed via #2911. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/782#event-11811682599 You are receiving this because you are subscribed to this thread. Message ID: ___

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for spec local file attributes and generators (PR #2911)

2024-02-15 Thread Florian Festi
Merged #2911 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2911#event-11811682408 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint