[Rpm-maint] [rpm-software-management/rpm] Is there available a macro with package name during processing `%files` section? (Discussion #2876)
Vít Ondruch
notifications at github.com
Thu Jan 25 12:24:25 UTC 2024
In `ruby` package, there are sections such as:
~~~
%files -n rubygem-psych
%{ruby_libdir}/psych
%{ruby_libdir}/psych.rb
%{ruby_libarchdir}/psych.so
%gem_extdir_mri psych}
%dir %{gem_instdir psych}
%{gem_libdir psych}
%{gem_spec -d psych}
~~~
And as it can be seen, the `psych` argument is there pretty repetitive. So I wonder, is there by a chance macro, which would contain name of the `%files` section which is actually processed?
Yes, there is the `rubygem-` prefix, but ...
Or maybe I could set some `files_name` variable on top of each `%files` section?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2876
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/2876 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240125/38380e0b/attachment.html>
More information about the Rpm-maint
mailing list