Michael Schröder 2019-10-02 14:39:02 +00:00 committed by Git OBS Bridge
parent 279d5ab228
commit 613af06297
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,3 @@
#rpm rpm
#arch ppc package rpm-devel arch ppc package rpm-devel
#arch sparcv9 package rpm-devel arch sparcv9 package rpm-devel

View File

@ -21,14 +21,13 @@
%global with_python 1 %global with_python 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-rpm Name: python-rpm
Version: 4.14.2.1 Version: 4.15.0
Release: 0 Release: 0
Summary: Python Bindings for Manipulating RPM Packages Summary: Python Bindings for Manipulating RPM Packages
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Development/Libraries/Python Group: Development/Libraries/Python
URL: https://rpm.org/ URL: https://rpm.org/
#Git-Clone: https://github.com/rpm-software-management/rpm #Git-Clone: https://github.com/rpm-software-management/rpm
Source99: rpm.spec
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: file-devel BuildRequires: file-devel
BuildRequires: libacl-devel BuildRequires: libacl-devel
@ -47,6 +46,7 @@ BuildRequires: zlib-devel
BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(libzstd)
Requires: rpm = %{version} Requires: rpm = %{version}
%{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%{_sourcedir}/rpm.spec)} %{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%{_sourcedir}/rpm.spec)}
Source99: rpm.spec
%if "%{python_flavor}" == "python2" %if "%{python_flavor}" == "python2"
Obsoletes: rpm-python < %{version}-%{release} Obsoletes: rpm-python < %{version}-%{release}
Provides: rpm-python = %{version}-%{release} Provides: rpm-python = %{version}-%{release}