diff --git a/param-1.7.0.tar.gz b/param-1.7.0.tar.gz deleted file mode 100644 index 2296d7e..0000000 --- a/param-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:02307e39323ec7c01aa8874e6512e67e441037a1527196fe4f1c4b00f931cae7 -size 56535 diff --git a/python-param.changes b/python-param.changes index f1714d8..366119e 100644 --- a/python-param.changes +++ b/python-param.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 17 08:51:50 UTC 2018 - tchvatal@suse.com + +- Switch to github tarball and enable tests. + ------------------------------------------------------------------- Mon Jul 16 16:11:19 UTC 2018 - arun@gmx.de diff --git a/python-param.spec b/python-param.spec index 32cf09c..686a073 100644 --- a/python-param.spec +++ b/python-param.spec @@ -24,7 +24,9 @@ Summary: Declarative Python programming using Parameters License: BSD-3-Clause Group: Development/Languages/Python URL: http://ioam.github.com/param/ -Source: https://files.pythonhosted.org/packages/source/p/param/param-%{version}.tar.gz +Source0: https://github.com/ioam/param/archive/v%{version}.tar.gz +BuildRequires: %{python_module nose} +BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -45,6 +47,7 @@ as part of other projects. %prep %setup -q -n param-%{version} +sed -i -e 's:version=get_setup_version("param"):version="%{version}":g' setup.py %build %python_build @@ -53,6 +56,9 @@ as part of other projects. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand nosetests-%{$python_bin_suffix} + %files %{python_files} %license LICENSE.txt %doc README.rst diff --git a/v1.7.0.tar.gz b/v1.7.0.tar.gz new file mode 100644 index 0000000..3b1bbc3 --- /dev/null +++ b/v1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:324c97d35ba3c62bc1ac3057991604fbb18c04c6ebcbe5e8d1b6d61bf5ec3bc7 +size 86550