From 16dd4247596b91f7996b31022f8616365e8b84ac Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Mar 26 2019 20:56:00 +0000 Subject: Update to 1.2.0. Signed-off-by: Randy Barlow --- diff --git a/python-venusian.spec b/python-venusian.spec index cd63488..1e37672 100644 --- a/python-venusian.spec +++ b/python-venusian.spec @@ -3,29 +3,27 @@ %endif %global modname venusian -%global alphaver a7 + Name: python-%{modname} -Version: 1.0 -Release: 0.24.%{alphaver}%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: A library for deferring decorator actions License: BSD -URL: http://pypi.python.org/pypi/venusian -Source0: http://pypi.python.org/packages/source/v/venusian/%{modname}-%{version}%{alphaver}.tar.gz +URL: https://pypi.python.org/pypi/venusian +Source0: https://pypi.python.org/packages/source/v/venusian/%{modname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-setuptools BuildRequires: python2-devel -BuildRequires: python2-nose -BuildRequires: python2-nose-exclude +BuildRequires: python2-pytest %if 0%{?with_python3} BuildRequires: python3-devel +BuildRequires: python3-pytest BuildRequires: python3-setuptools -BuildRequires: python3-nose -BuildRequires: python3-nose-exclude %endif @@ -56,7 +54,7 @@ decorator until a separate "scan" phase. %endif %prep -%setup -q -n %{modname}-%{version}%{alphaver} +%setup -q -n %{modname}-%{version} # Remove bundled egg info if it exists rm -rf %{modname}.egg-info @@ -66,6 +64,7 @@ rm -rf %{py3dir} cp -a . %{py3dir} %endif + %build %{__python2} setup.py build @@ -87,26 +86,33 @@ popd %check %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py nosetests +py.test-3 popd %endif -%{__python2} setup.py nosetests +py.test-2 + %files -n python2-venusian -%doc README.txt LICENSE.txt +%license LICENSE.txt +%doc README.rst %{python2_sitelib}/%{modname}/ %{python2_sitelib}/%{modname}-%{version}*.egg-info %if 0%{?with_python3} %files -n python3-venusian -%doc README.txt LICENSE.txt +%license LICENSE.txt +%doc README.rst %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}-%{version}*.egg-info %endif %changelog +* Tue Mar 26 2019 Randy Barlow - 1.2.0-1 +- Update to 1.2.0. +- https://github.com/Pylons/venusian/blob/1.2.0/CHANGES.rst + * Sat Feb 02 2019 Fedora Release Engineering - 1.0-0.24.a7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild