diff --git a/hankel-1.1.0.tar.gz b/hankel-1.1.0.tar.gz new file mode 100644 index 0000000..7367b74 --- /dev/null +++ b/hankel-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83764755e132a86c6c801f02722d544c69a469b2dda1a338eafb663c4c9053e4 +size 6499841 diff --git a/python-hankel-1.1.0.tar.gz b/python-hankel-1.1.0.tar.gz deleted file mode 100644 index f3e34ef..0000000 --- a/python-hankel-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0ce9ee88d8783ff83005385c4432dc8a8e64640c332bfa851eb85f0c4f9fa6b -size 6488996 diff --git a/python-hankel.changes b/python-hankel.changes index f1bd513..51d3029 100644 --- a/python-hankel.changes +++ b/python-hankel.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Sep 14 09:01:07 UTC 2020 - Atri Bhattacharya + +- Switch to using PyPI source tarball to prevent version + determination errors from setuptools. +- Make file list more specific, particularly to the versioning of + the egg-info dir. + ------------------------------------------------------------------- Wed Jun 10 02:35:57 UTC 2020 - Atri Bhattacharya diff --git a/python-hankel.spec b/python-hankel.spec index a31b6fb..8751b0b 100644 --- a/python-hankel.spec +++ b/python-hankel.spec @@ -17,6 +17,7 @@ %define skip_python2 1 +%define modname hankel %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hankel Version: 1.1.0 @@ -25,7 +26,7 @@ Summary: Hankel Transformations using method of Ogata 2005 License: MIT Group: Development/Languages/Python URL: https://github.com/steven-murray/hankel -Source: https://github.com/steven-murray/hankel/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/h/%{modname}/%{modname}-%{version}.tar.gz BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -65,6 +66,7 @@ transformations using the method of Ogata 2005. %files %{python_files} %doc README.rst CHANGELOG.rst %license LICENSE.rst -%{python_sitelib}/* +%{python_sitelib}/%{modname}/ +%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/ %changelog