diff --git a/imagesize-1.0.0.tar.gz b/imagesize-1.0.0.tar.gz deleted file mode 100644 index 9ffcd3c..0000000 --- a/imagesize-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b326e4678b6925158ccc66a9fa3122b6106d7c876ee32d7de6ce59385b96315 -size 465373 diff --git a/imagesize-1.1.0.tar.gz b/imagesize-1.1.0.tar.gz new file mode 100644 index 0000000..861b33c --- /dev/null +++ b/imagesize-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3832918bc3c66617f92e35f5d70729187676313caa60c187eb0f28b8fe5e3b5 +size 1275201 diff --git a/python-imagesize.changes b/python-imagesize.changes index 7d313ef..122aeba 100644 --- a/python-imagesize.changes +++ b/python-imagesize.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue May 7 11:30:09 UTC 2019 - pgajdos@suse.com + +- version update to 1.1.0 + * add TIFF support (experimental) +- enable testsuite + ------------------------------------------------------------------- Tue Dec 4 12:49:15 UTC 2018 - Matej Cepl diff --git a/python-imagesize.spec b/python-imagesize.spec index d72d111..69b48aa 100644 --- a/python-imagesize.spec +++ b/python-imagesize.spec @@ -1,7 +1,7 @@ # # spec file for package python-imagesize # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-imagesize -Version: 1.0.0 +Version: 1.1.0 Release: 0 Summary: Getting image size from PNG/JPEG/JPEG2000/GIF files License: MIT @@ -27,6 +27,9 @@ Url: https://github.com/shibukawa/imagesize_py Source: https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -50,6 +53,9 @@ Supported formats: %install %python_install +%check +%pytest + %files %{python_files} %defattr(-,root,root,-) %{python_sitelib}/*