diff --git a/Glymur-0.9.1.tar.gz b/Glymur-0.9.1.tar.gz deleted file mode 100644 index 5d4c178..0000000 --- a/Glymur-0.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf7fbe0c223dac4c33cb2a134fb303f64fa30cdd25f6e3e0dd47da316f4fb6c4 -size 3418589 diff --git a/Glymur-0.9.2.tar.gz b/Glymur-0.9.2.tar.gz new file mode 100644 index 0000000..8d66163 --- /dev/null +++ b/Glymur-0.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9588a9918fac1b4ccffce0f5ca944ae26a12fc26b5ca68ed3f3fcbcce36477ad +size 3418731 diff --git a/python-Glymur.changes b/python-Glymur.changes index 5be2613..44f9eff 100644 --- a/python-Glymur.changes +++ b/python-Glymur.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Jul 14 16:55:39 UTC 2020 - Matej Cepl + +- Don't install tests + +------------------------------------------------------------------- +Thu Jul 9 16:12:50 UTC 2020 - Ondřej Súkup + +- update to 0.9.2 + * Update setup.py to include tests in source distribution to PyPi + * Update gdal imports to comply with GDAL recommendations. + ------------------------------------------------------------------- Tue May 26 06:34:26 UTC 2020 - Petr Gajdos diff --git a/python-Glymur.spec b/python-Glymur.spec index 07653fd..0d24a62 100644 --- a/python-Glymur.spec +++ b/python-Glymur.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-Glymur -Version: 0.9.1 +Version: 0.9.2 Release: 0 Summary: Tools for accessing JPEG2000 files License: MIT @@ -40,6 +40,9 @@ BuildRequires: %{python_module lxml} BuildRequires: %{python_module numpy >= 1.7.1} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scikit-image} +%if 0%{?suse_version} <= 1500 +BuildRequires: %{python_module importlib_resources} +%endif # /SECTION %python_subpackages @@ -54,6 +57,8 @@ Python interface to the OpenJPEG library %install %python_install +# don't install tests +rm -rf %{buildroot}%{python_sitelib}/tests %python_clone -a %{buildroot}%{_bindir}/jp2dump %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -70,6 +75,7 @@ Python interface to the OpenJPEG library %doc README.md CHANGES.txt %license LICENSE.txt %python_alternative %{_bindir}/jp2dump -%{python_sitelib}/* +%{python_sitelib}/glymur* +%{python_sitelib}/Glymur* %changelog