diff --git a/.gitignore b/.gitignore index 4740cc1..92c677b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/resumable-urlretrieve-0.1.1.tar.gz +/resumable-urlretrieve-0.1.2.tar.gz diff --git a/python-resumable-urlretrieve.spec b/python-resumable-urlretrieve.spec index 00739d2..50f9ee9 100644 --- a/python-resumable-urlretrieve.spec +++ b/python-resumable-urlretrieve.spec @@ -7,9 +7,9 @@ Summary: %{sum} URL: https://pypi.python.org/pypi/%{srcname} License: MIT -Version: 0.1.1 +Version: 0.1.2 Release: 1%{?dist} -Source0: https://pypi.python.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/r/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch @@ -22,6 +22,8 @@ Summary: %{sum} BuildRequires: python3-devel # For the unit tests +BuildRequires: python3-pytest +BuildRequires: python3-rangehttpserver BuildRequires: python3-requests Requires: python3-requests @@ -31,7 +33,7 @@ Requires: python3-requests %prep -%autosetup -n %{srcname}-%{version} +%setup -q -n %{srcname}-%{version} %build @@ -43,7 +45,7 @@ Requires: python3-requests %check -%{__python3} setup.py test +PYTHONPATH=. py.test-3 %files -n python3-%{srcname} @@ -52,5 +54,9 @@ Requires: python3-requests %changelog +* Sat Oct 15 2016 Mathieu Bridon - 0.1.2-1 +- New upstream version. +- Add the test requirements, and properly run the tests. + * Thu Jan 28 2016 Mathieu Bridon - 0.1.1-1 - Initial package for Fedora. diff --git a/sources b/sources index cc8e605..34f36ff 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fad1b77af90e24881a4e9eb598dffa69 resumable-urlretrieve-0.1.1.tar.gz +5ac79a013b536206b21efdc2ecaa2778 resumable-urlretrieve-0.1.2.tar.gz