update to 0.4.0

This commit is contained in:
Matthias Runge 2018-10-19 13:21:29 +02:00
parent a6ba39d7d5
commit 88b274dea4
3 changed files with 16 additions and 4 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/colorama-0.3.2.tar.gz /colorama-0.3.2.tar.gz
/colorama-0.3.7.tar.gz /colorama-0.3.7.tar.gz
/colorama-0.3.9.tar.gz /colorama-0.3.9.tar.gz
/colorama-0.4.0.zip

View File

@ -7,13 +7,13 @@
%endif %endif
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 0.3.9 Version: 0.4.0
Release: 4%{?dist} Release: 1%{?dist}
Summary: Cross-platform colored terminal text Summary: Cross-platform colored terminal text
License: BSD License: BSD
URL: http://pypi.python.org/pypi/colorama URL: http://pypi.python.org/pypi/colorama
Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.zip
BuildArch: noarch BuildArch: noarch
%description %description
@ -27,6 +27,7 @@ It also provides some shortcuts to help generate ANSI sequences, and works fine
in conjunction with any other ANSI sequence generation library, such as in conjunction with any other ANSI sequence generation library, such as
Termcolor. Termcolor.
%if 0%{?fedora} > 29
%package -n python2-%{pypi_name} %package -n python2-%{pypi_name}
Summary: Cross-platform colored terminal text Summary: Cross-platform colored terminal text
BuildRequires: python2-devel BuildRequires: python2-devel
@ -47,6 +48,7 @@ in conjunction with any other ANSI sequence generation library, such as
Termcolor. Termcolor.
Python 2 version. Python 2 version.
%endif
%if %{with python3} %if %{with python3}
%package -n python3-%{pypi_name} %package -n python3-%{pypi_name}
@ -74,22 +76,28 @@ Python 3 version.
rm -rf *.egg-info rm -rf *.egg-info
%build %build
%if 0%{?fedora} > 29
%py2_build %py2_build
%endif
%if %{with python3} %if %{with python3}
%py3_build %py3_build
%endif %endif
%install %install
%if 0%{?fedora} > 29
%py2_install %py2_install
%endif
%if %{with python3} %if %{with python3}
%py3_install %py3_install
%endif %endif
%if 0%{?fedora} > 29
%files -n python2-%{pypi_name} %files -n python2-%{pypi_name}
%doc README.rst %doc README.rst
%license LICENSE.txt %license LICENSE.txt
%{python2_sitelib}/%{pypi_name}/ %{python2_sitelib}/%{pypi_name}/
%{python2_sitelib}/%{pypi_name}-%{version}-*.egg-info/ %{python2_sitelib}/%{pypi_name}-%{version}-*.egg-info/
%endif
%if %{with python3} %if %{with python3}
%files -n python3-%{pypi_name} %files -n python3-%{pypi_name}
@ -100,6 +108,9 @@ rm -rf *.egg-info
%endif %endif
%changelog %changelog
* Fri Oct 19 2018 Matthias Runge <mrunge@redhat.com> - 0.4.0-1
- update to 0.4.0
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-4 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (colorama-0.3.9.tar.gz) = 248e3d3d1f95cb85baf55ef4d705508213b81edfb04b39fe9a7bc9c7ac564986726ab6e9d9f73d64ee02e1c9b86d4c6bba40543590dbd170180a37d69e07b627 SHA512 (colorama-0.4.0.zip) = 4a3e6d6424a6571c3b1825bb34e347def9ffda8dd296bcb83149b9312374c2aaeafe8b95d868425d9590485bf5e354862e9b3f48217836e6fc0dbb4db60ae444