Accepting request 766078 from devel:languages:python:Factory

OBS-URL: https://build.opensuse.org/request/show/766078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpm-macros?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2020-01-23 15:08:53 +00:00 committed by Git OBS Bridge
commit 2da059911e
5 changed files with 33 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">git://github.com/openSUSE/python-rpm-macros.git</param> <param name="url">git://github.com/openSUSE/python-rpm-macros.git</param>
<param name="changesrevision">da4c63c3f7e3d7d6899ea9698c928ba145ed2b19</param></service></servicedata> <param name="changesrevision">8e390130273e5c31158c8c829970d378d62e74ae</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c89b9769fb0dd76968fa30c5bf638f0af91a8b51961467e05494a53ca7cbb48a
size 12892

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a815bce1965d1ee6bd47cfa4c378846338fbe321b310032ce8f37098de2cae2
size 13769

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
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>
- Update to version 20200117.8e39013:
* Add macros related to the Python dist metadata dependency generator
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 04 10:10:58 UTC 2019 - mcepl@cepl.eu Mon Nov 04 10:10:58 UTC 2019 - mcepl@cepl.eu

View File

@ -17,7 +17,7 @@
Name: python-rpm-macros Name: python-rpm-macros
Version: 20191104.08e6493 Version: 20200117.8e39013
Release: 0 Release: 0
Summary: RPM macros for building of Python modules Summary: RPM macros for building of Python modules
License: WTFPL License: WTFPL
@ -27,6 +27,8 @@ Source: python-rpm-macros-%{version}.tar.bz2
# Fedora compatibility # Fedora compatibility
Provides: python2-rpm-macros Provides: python2-rpm-macros
Provides: python3-rpm-macros Provides: python3-rpm-macros
# To keep user expectations reasonably sane
Recommends: python-rpm-generators
BuildArch: noarch BuildArch: noarch
%description %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 You should BuildRequire this package unless you are sure that you
are only building for distros newer than Leap 42.2 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 %prep
%setup -q %setup -q
%if 0%{?suse_version} < 1330 %if 0%{?suse_version} < 1330
@ -52,4 +66,7 @@ install -m 644 macros.python_all %{buildroot}%{_rpmconfigdir}/macros.d/
%doc README.md %doc README.md
%{_rpmconfigdir}/macros.d/macros.python_all %{_rpmconfigdir}/macros.d/macros.python_all
%files -n python-rpm-generators
# Nothing here for now...
%changelog %changelog