-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
I have spec files that use "%include" to share common parts, like this (in this case, we have "versioned" packages that are co-installable):
# my-name-1.0.spec
%global base_name my-name
Version: 1.0
Name: %{base_name}-%{version}
Release: 1%{?dist}
Source100: %{base_name}-common.inc
%include %{SOURCE100}# my-name-common.inc
Source0: %{base_name}-%{version}.tar.xz
Summary: My summary
License: GPLv3I 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.