Also add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-12-26 10:52:04 -05:00
parent 8591f384e5
commit a5f6e0c513

View File

@ -2,7 +2,7 @@
Name: pyxattr Name: pyxattr
Summary: Extended attributes library wrapper for Python Summary: Extended attributes library wrapper for Python
Version: 0.5.3 Version: 0.5.3
Release: 13%{?dist} Release: 14%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
URL: http://pyxattr.k1024.org/ URL: http://pyxattr.k1024.org/
@ -24,6 +24,7 @@ add and remove extended attributes from files and directories.
Summary: %summary Summary: %summary
%{?python_provide:%python_provide python2-%{name}} %{?python_provide:%python_provide python2-%{name}}
# Remove before F30 # Remove before F30
Provides: pyxattr = %{version}-%{release}
Provides: pyxattr%{?_isa} = %{version}-%{release} Provides: pyxattr%{?_isa} = %{version}-%{release}
Obsoletes: pyxattr < %{version}-%{release} Obsoletes: pyxattr < %{version}-%{release}
@ -98,6 +99,9 @@ popd
%endif # with_python3 %endif # with_python3
%changelog %changelog
* Tue Dec 26 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.3-14
- Also add Provides for the old name without %%_isa
* Sun Aug 13 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.3-13 * Sun Aug 13 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.3-13
- Python 2 binary package renamed to python2-pyxattr - Python 2 binary package renamed to python2-pyxattr
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3