You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, there. Yea, there's no such functionality in python-rpm-spec yet. I simply never needed it. However, I have seen enough spec files that use this.
Shouldn't be too hard to add since rpm literally just concatenates files with %include. Feel free to add this in a PR if you need it. Wouldn't mind to help get this merged and released.
I have spec files that use "%include" to share common parts, like this (in this case, we have "versioned" packages that are co-installable):
I then want to get all sources with
spec = Spec.from_file("my-name-1.0.spec")
.Currently,
spec.sources
will only contain["my-name-common.inc"]
.It seems that python-rpm-spec does not parse the %include directive at all.
The text was updated successfully, but these errors were encountered: