diff --git a/.gitignore b/.gitignore index 6789326..4259d31 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /SALib-1.3.7.tar.gz *.src.rpm /SALib-1.3.8.tar.gz +/SALib-1.3.11.tar.gz diff --git a/python-SALib.spec b/python-SALib.spec index b22890a..ab60edc 100644 --- a/python-SALib.spec +++ b/python-SALib.spec @@ -24,17 +24,13 @@ Methods included: - Fractional Factorial Sensitivity Analysis (Saltelli et al. 2008)} Name: python-%{srcname} -Version: 1.3.8 -Release: 2%{?dist} +Version: 1.3.11 +Release: 1%{?dist} Summary: Sensitivity Analysis Library License: MIT URL: http://salib.github.io/SALib/ Source0: %pypi_source -# Add patch for numpy 1.18 support -# https://github.com/SALib/SALib/pull/280 -SOURCE1: https://raw.githubusercontent.com/bsteubing/SALib/numpy_float_to_integer_issue/src/SALib/analyze/delta.py - BuildArch: noarch @@ -98,14 +94,11 @@ find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/ sed -i 's/\r$//' LICENSE.txt sed -i 's/\r$//' src/SALib/analyze/rbd_fast.py -# Copy over fixed version of delta.py -cp -v -p %{SOURCE1} ./src/SALib/analyze/delta.py - %build %py3_build -make -C docs SPHINXBUILD=sphinx-build-3 html -rm -rf docs/_build/html/{.doctrees,.buildinfo} -vf +sphinx-build-%{python3_version} docs html-docs +rm -rf html-docs/{.doctrees,.buildinfo} -vf %install %py3_install @@ -128,9 +121,12 @@ PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitelib} pytest-%{python3_version} %files doc %license LICENSE.txt -%doc docs/_build/html +%doc html-docs %changelog +* Wed Apr 22 2020 Ankur Sinha - 1.3.11-1 +- Update to new release + * Mon Mar 16 2020 Ankur Sinha - 1.3.8-2 - Add patch to fix for python 3.9 - https://bugzilla.redhat.com/show_bug.cgi?id=1794093 diff --git a/sources b/sources index 84fd315..3dc5da5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (SALib-1.3.8.tar.gz) = 053d21362db56748ff5fe2faa69d02e3c5d7b0297e3911c3dee48384187bb448f25029260cdea52651c3a12d6ff0d2d81a411069862f888ac964fb70135c3710 +SHA512 (SALib-1.3.11.tar.gz) = 9a09b3163dd765b86636977a1d1cb13d02c743ef85b31fd363648aa75dfa3d6272731bb2209fc0913b972f619e908cc4b6124915c670c0fff693e89864a24f51