Upgrade to 0.1.6
This commit is contained in:
parent
c9b0399d65
commit
f953814035
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/wcwidth-0.1.5.tar.gz
|
||||
/LICENSE
|
||||
/wcwidth-0.1.6.tar.gz
|
||||
|
@ -15,14 +15,13 @@
|
||||
%global pypi_name wcwidth
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.1.5
|
||||
Release: 2%{?dist}
|
||||
Version: 0.1.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Measures number of Terminal column cells of wide-character codes
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/jquast/wcwidth
|
||||
Source0: https://pypi.python.org/packages/source/w/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/jquast/wcwidth/master/LICENSE
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
@ -67,7 +66,6 @@ printable width of a string on a Terminal.
|
||||
%setup -q -n %{pypi_name}-%{version}
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
sed -i -e '1 d' wcwidth/tests/test_core.py
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
@ -92,19 +90,23 @@ cp %{SOURCE1} .
|
||||
%files -n python2-%{pypi_name}
|
||||
%{!?_licensedir:%global license %doc}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%license LICENSE.txt
|
||||
%{python2_sitelib}/%{pypi_name}
|
||||
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python3-%{pypi_name}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%license LICENSE.txt
|
||||
%{python3_sitelib}/%{pypi_name}
|
||||
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||
%endif # with_python3
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Wed Jan 06 2016 Fabio Alessandro Locati <fabio@locati.cc> - 0.1.5-2
|
||||
- Remove shabang from file that was not executable
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user