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/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to