diff --git a/1.5.tar.gz b/1.5.tar.gz new file mode 100644 index 0000000..a75ada2 --- /dev/null +++ b/1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7e04ed4eea04611f571de336c6613c7657e6c1175d77b42b3776c2067f175ec +size 18514 diff --git a/purl-1.5.tar.gz b/purl-1.5.tar.gz deleted file mode 100644 index 12d68aa..0000000 --- a/purl-1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:75141bef1e7fce943afda671663a97c792af01c81648026cd5b5c0dcc3b72b96 -size 9965 diff --git a/python-purl.changes b/python-purl.changes index a7a5526..e017ad2 100644 --- a/python-purl.changes +++ b/python-purl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 7 11:51:45 UTC 2019 - Tomáš Chvátal + +- Switch to github tarball for tests + ------------------------------------------------------------------- Fri Apr 12 01:13:06 AM UTC 2019 - John Vandenberg diff --git a/python-purl.spec b/python-purl.spec index 09a6f21..5c743a7 100644 --- a/python-purl.spec +++ b/python-purl.spec @@ -12,27 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-purl Version: 1.5 Release: 0 -License: MIT Summary: An immutable URL class for easy URL-building and manipulation -Url: https://github.com/codeinthehole/purl +License: MIT Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/p/purl/purl-%{version}.tar.gz -BuildRequires: python-rpm-macros +URL: https://github.com/codeinthehole/purl +Source: https://github.com/codeinthehole/purl/archive/%{version}.tar.gz +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} -# SECTION test requirements BuildRequires: %{python_module six} -# /SECTION BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-six BuildArch: noarch - %python_subpackages %description @@ -48,6 +47,9 @@ An immutable URL class for easy URL-building and manipulation %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v + %files %{python_files} %doc README.rst %license LICENSE