diff --git a/python-blivet.spec b/python-blivet.spec index 975af8cbb..02b7309b4 100644 --- a/python-blivet.spec +++ b/python-blivet.spec @@ -44,11 +44,19 @@ Requires: libblockdev >= %{libblockdevver} Requires: libblockdev-plugins-all >= %{libblockdevver} Requires: libselinux-python Requires: python-hawkey +Requires: %{realname}-data %description The python-blivet package is a python module for examining and modifying storage configuration. +%package -n %{realname}-data +Summary: Data for the %{realname} python module. + +%description -n %{realname}-data +The %{realname}-data package provides data files required by the %{realname} +python module. + %if 0%{with_python3} %package -n python3-%{realname} Summary: A python3 package for examining and modifying storage configuration. @@ -66,6 +74,7 @@ Requires: dosfstools Requires: e2fsprogs >= %{e2fsver} Requires: lsof Requires: python3-hawkey +Requires: %{realname}-data %description -n python3-%{realname} The python3-%{realname} is a python3 package for examining and modifying storage @@ -94,12 +103,14 @@ make PYTHON=%{__python3} DESTDIR=%{buildroot} install popd %endif -%files -f %{realname}.lang +%files %defattr(-,root,root,-) %license COPYING %doc README ChangeLog examples %{python_sitelib}/* +%files -n %{realname}-data -f %{realname}.lang + %if 0%{?with_python3} %files -n python3-%{realname} %license COPYING