From cfbead47622097a7bb82ef28ae799e4b07e8f4175a9371d87fa05784198e098e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 21 Jan 2020 13:49:48 +0000 Subject: [PATCH] Accepting request 765902 from home:Pharaoh_Atem:branches:devel:languages:python:Factory - Add python-rpm-generators to express setuptools dependency for generator OBS-URL: https://build.opensuse.org/request/show/765902 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python-rpm-macros?expand=0&rev=81 --- python-rpm-macros.changes | 5 +++++ python-rpm-macros.spec | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) 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