[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 13:14:21 UTC 2024
> If you have lots of those with nothing but the name changing, no macros will help with that.
Since e.g. the `gem_libdir` is macro, it could instead of accepting the parameter use some macro on background. So the question is can we have such macro?
> Generate those files manifests programmatically from %install and include with %files -f. Or use dynamic spec generation to generate even those.
For me, the `%files` section is not about getting some random files into package. If I greatly simplify the problem, the files section such as:
~~~
%files
%{_libdir}
~~~
is not the way to go and generated file list are very similar to this. While they allow to include everything what is on file system, they don't cover my back and they don't tell mi if e.g. soname has changed, if there are new files, which need review or if some files gone missing.
But maybe I just like doing things the hard way 🤷
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2876#discussioncomment-8244926
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/2876/comments/8244926 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240125/7c16d21f/attachment-0001.html>
More information about the Rpm-maint
mailing list