Add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-20 10:37:37 -04:00
parent 024213f25f
commit ba4838d1ee

View File

@ -1,6 +1,6 @@
Name: libuser
Version: 0.62
Release: 10%{?dist}
Release: 11%{?dist}
Group: System Environment/Base
License: LGPLv2+
URL: https://fedorahosted.org/libuser/
@ -40,6 +40,7 @@ files useful for developing applications with libuser.
%package -n python2-libuser
%{?python_provide:%python_provide python2-libuser}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python 2 bindings for the libuser library
@ -152,6 +153,9 @@ LC_ALL=C.UTF-8 python3 -c "import libuser"
%{_datadir}/gtk-doc/html/*
%changelog
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.62-11
- Add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.62-10
- Python 2 binary package renamed to python2-libuser
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3