Add %%{?system_python_abi}

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2016-08-09 17:16:31 +02:00
parent 054d275832
commit 10c9736dff

View File

@ -6,7 +6,7 @@
Name: libcomps Name: libcomps
Version: 0.1.7 Version: 0.1.7
Release: 5%{?dist} Release: 6%{?dist}
Summary: Comps XML file manipulation library Summary: Comps XML file manipulation library
License: GPLv2+ License: GPLv2+
@ -61,6 +61,7 @@ Python 2 bindings for libcomps library.
%package -n python3-%{name} %package -n python3-%{name}
Summary: Python 3 bindings for libcomps library Summary: Python 3 bindings for libcomps library
BuildRequires: python3-devel BuildRequires: python3-devel
%{?system_python_abi}
%{?python_provide:%python_provide python3-%{name}} %{?python_provide:%python_provide python3-%{name}}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -140,6 +141,9 @@ popd
%endif %endif
%changelog %changelog
* Tue Aug 09 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.1.7-6
- Add %%{?system_python_abi}
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-5 * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-5
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages