forked from pool/python-rpm-macros
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:
parent
918ee4d80b
commit
cfbead4762
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user