1
0

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
This commit is contained in:
Matej Cepl 2020-01-21 13:49:48 +00:00 committed by Git OBS Bridge
parent 918ee4d80b
commit cfbead4762
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 20 18:35:19 UTC 2020 - Neal Gompa <ngompa13@gmail.com>
- Add python-rpm-generators to express setuptools dependency for generator
-------------------------------------------------------------------
Fri Jan 17 13:09:29 UTC 2020 - Neal Gompa <ngompa13@gmail.com>

View File

@ -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