From df9eea96da52b237580e999ad82f42f606f93609a6835a33106e275ceb8ba218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 14 Sep 2020 10:12:44 +0000 Subject: [PATCH] Accepting request 834252 from home:badshah400:branches:devel:languages:python - 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. OBS-URL: https://build.opensuse.org/request/show/834252 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hankel?expand=0&rev=15 --- hankel-1.1.0.tar.gz | 3 +++ python-hankel-1.1.0.tar.gz | 3 --- python-hankel.changes | 8 ++++++++ python-hankel.spec | 6 ++++-- 4 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 hankel-1.1.0.tar.gz delete mode 100644 python-hankel-1.1.0.tar.gz 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