Fix EL6 provides

This commit is contained in:
Fabio Alessandro Locati 2016-01-12 11:28:24 +01:00
parent fa0f7f38dc
commit cc767fd542

View File

@ -16,7 +16,7 @@
Name: python-%{pypi_name}
Version: 0.1.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Measures number of Terminal column cells of wide-character codes
License: MIT
@ -45,6 +45,7 @@ printable width of a string on a Terminal.
%package -n python2-%{pypi_name}
Summary: Measures number of Terminal column cells of wide-character codes
%{?python_provide:%python_provide python2-%{pypi_name}}
%{?el6:Provides: python-%{pypi_name}}
%description -n python2-%{pypi_name}
This API is mainly for Terminal Emulator implementors, or those writing programs
@ -104,6 +105,9 @@ sed -i -e '1 d' wcwidth/tests/test_core.py
%endif # with_python3
%changelog
* Tue Jan 12 2016 Fabio Alessandro Locati <fabio@locati.cc> - 0.1.6-2
- Provide python-wcwidth for EL6
* Sat Jan 09 2016 Fabio Alessandro Locati <fabio@locati.cc> - 0.1.6-1
- Update to new upstream
- Remove external LICENSE thanks to the new version