diff --git a/python-rpm-macros.changes b/python-rpm-macros.changes index 646b796..ee792ca 100644 --- a/python-rpm-macros.changes +++ b/python-rpm-macros.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 20 18:35:19 UTC 2020 - Neal Gompa + +- Add python-rpm-generators to express setuptools dependency for generator + ------------------------------------------------------------------- Fri Jan 17 13:09:29 UTC 2020 - Neal Gompa diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index 8183527..d5d0bf1 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -27,6 +27,8 @@ Source: python-rpm-macros-%{version}.tar.bz2 # Fedora compatibility Provides: python2-rpm-macros Provides: python3-rpm-macros +# To keep user expectations reasonably sane +Recommends: python-rpm-generators BuildArch: noarch %description @@ -34,6 +36,18 @@ This package contains SUSE RPM macros for Python build automation. You should BuildRequire this package unless you are sure that you are only building for distros newer than Leap 42.2 +%package -n python-rpm-generators +Summary: Dependency generator dependencies for Python RPMs +Requires: %{name} = %{version}-%{release} +# Fedora compatibility +Provides: python3-rpm-generators +# For the dep generator macros +Requires: python3-setuptools + +%description -n python-rpm-generators +This package contains the dependencies for Python RPMs to generate +dependencies automatically. + %prep %setup -q %if 0%{?suse_version} < 1330 @@ -52,4 +66,7 @@ install -m 644 macros.python_all %{buildroot}%{_rpmconfigdir}/macros.d/ %doc README.md %{_rpmconfigdir}/macros.d/macros.python_all +%files -n python-rpm-generators +# Nothing here for now... + %changelog