Re: [Rpm-maint] [rpm-software-management/rpm] Including a file, expanding the macros in it and writing the result to another file? (Discussion #2912)
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)
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 %{_unitdir}/systemd-coredump@.service ``` I want "expanded" to contain: ``` /usr/lib/systemd/system/systemd-coredump.socket /usr/lib/systemd/system/systemd-coredump@.service ``` Anyone able to help me out? -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/discussions/2912 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Add "local_generator" (PR #2734)
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: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Add "local_generator" (PR #2734)
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 Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] [RFE] Execute dependency generators on the .spec file which ships them (#782)
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: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Add support for spec local file attributes and generators (PR #2911)
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 mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint