Replies: 3 comments 5 replies
-
If you have lots of those with nothing but the name changing, no macros will help with that. Generate those files manifests programmatically from %install and include with %files -f. Or use dynamic spec generation to generate even those. |
Beta Was this translation helpful? Give feedback.
-
Since e.g. the
For me, the
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 🤷 |
Beta Was this translation helpful? Give feedback.
-
If you declared these macros in terms including some %{name} then ... you'd have X number of such identical %files sections, now just even more redundant. I really don't understand what you're trying to achieve. |
Beta Was this translation helpful? Give feedback.
-
In
ruby
package, there are sections such as: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?Beta Was this translation helpful? Give feedback.
All reactions