Upgrade to 0.1.6

This commit is contained in:
Fabio Alessandro Locati 2016-01-09 00:21:12 +01:00
parent c9b0399d65
commit f953814035
3 changed files with 10 additions and 8 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/wcwidth-0.1.5.tar.gz /wcwidth-0.1.5.tar.gz
/LICENSE /LICENSE
/wcwidth-0.1.6.tar.gz

View File

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

View File

@ -1,2 +1 @@
2282d853074f2f1f465a3387e524d99b wcwidth-0.1.5.tar.gz 53031c6d6490d65c1de601595cff835f wcwidth-0.1.6.tar.gz
11fba47286258744a6bc6e43530c32a1 LICENSE