From 88b274dea46cfde635881974deeb0507b8fccbc0 Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Fri, 19 Oct 2018 13:21:29 +0200 Subject: [PATCH] update to 0.4.0 --- .gitignore | 1 + python-colorama.spec | 17 ++++++++++++++--- sources | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c024c62..281cf50 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /colorama-0.3.2.tar.gz /colorama-0.3.7.tar.gz /colorama-0.3.9.tar.gz +/colorama-0.4.0.zip diff --git a/python-colorama.spec b/python-colorama.spec index 07d1411..4208c48 100644 --- a/python-colorama.spec +++ b/python-colorama.spec @@ -7,13 +7,13 @@ %endif Name: python-%{pypi_name} -Version: 0.3.9 -Release: 4%{?dist} +Version: 0.4.0 +Release: 1%{?dist} Summary: Cross-platform colored terminal text License: BSD 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 %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 Termcolor. +%if 0%{?fedora} > 29 %package -n python2-%{pypi_name} Summary: Cross-platform colored terminal text BuildRequires: python2-devel @@ -47,6 +48,7 @@ in conjunction with any other ANSI sequence generation library, such as Termcolor. Python 2 version. +%endif %if %{with python3} %package -n python3-%{pypi_name} @@ -74,22 +76,28 @@ Python 3 version. rm -rf *.egg-info %build +%if 0%{?fedora} > 29 %py2_build +%endif %if %{with python3} %py3_build %endif %install +%if 0%{?fedora} > 29 %py2_install +%endif %if %{with python3} %py3_install %endif +%if 0%{?fedora} > 29 %files -n python2-%{pypi_name} %doc README.rst %license LICENSE.txt %{python2_sitelib}/%{pypi_name}/ %{python2_sitelib}/%{pypi_name}-%{version}-*.egg-info/ +%endif %if %{with python3} %files -n python3-%{pypi_name} @@ -100,6 +108,9 @@ rm -rf *.egg-info %endif %changelog +* Fri Oct 19 2018 Matthias Runge - 0.4.0-1 +- update to 0.4.0 + * Fri Jul 13 2018 Fedora Release Engineering - 0.3.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 78309b2..52ce8f0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (colorama-0.3.9.tar.gz) = 248e3d3d1f95cb85baf55ef4d705508213b81edfb04b39fe9a7bc9c7ac564986726ab6e9d9f73d64ee02e1c9b86d4c6bba40543590dbd170180a37d69e07b627 +SHA512 (colorama-0.4.0.zip) = 4a3e6d6424a6571c3b1825bb34e347def9ffda8dd296bcb83149b9312374c2aaeafe8b95d868425d9590485bf5e354862e9b3f48217836e6fc0dbb4db60ae444