Hello community, here is the log from the commit of package python-imageio for openSUSE:Factory checked in at 2018-09-16 18:31:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-imageio (Old) and /work/SRC/openSUSE:Factory/.python-imageio.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-imageio" Sun Sep 16 18:31:25 2018 rev:3 rq:633470 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-imageio/python-imageio.changes 2018-04-26 13:37:29.793256256 +0200 +++ /work/SRC/openSUSE:Factory/.python-imageio.new/python-imageio.changes 2018-09-16 18:31:28.923416096 +0200 @@ -1,0 +2,8 @@ +Wed Sep 5 12:19:11 UTC 2018 - Matěj Cepl <mc...@suse.com> + +- Fix BuildRequires ("freeimage-devel" instead of "libfreeimage3"), and + remove superfluous Requires for libfreeimage3. +- Remove shebangs from non-scripts in shipped plugins. +- Add python-imageio-rpmlintrc ... we install zero-length files. + +------------------------------------------------------------------- New: ---- python-imageio-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-imageio.spec ++++++ --- /var/tmp/diff_new_pack.IBEjEl/_old 2018-09-16 18:31:30.275415493 +0200 +++ /var/tmp/diff_new_pack.IBEjEl/_new 2018-09-16 18:31:30.279415491 +0200 @@ -26,16 +26,16 @@ License: BSD-2-Clause Group: Development/Languages/Python URL: http://imageio.github.io/ -Source: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}.tar.gz +Source1: python-imageio-rpmlintrc BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: ffmpeg -BuildRequires: libfreeimage3 +BuildRequires: freeimage-devel BuildRequires: python-rpm-macros Requires: ffmpeg -Requires: libfreeimage3 Requires: python-numpy Recommends: libfreeimageplus3 BuildArch: noarch @@ -53,6 +53,12 @@ %prep %setup -q -n imageio-%{version} +# Plugins are not executable scripts +for plgpy in imageio/plugins/_*.py ; do + echo "Fixing $plgpy..." + sed -i -e '1{/\/usr\/bin.*python/d}' $plgpy +done + %build export IMAGEIO_NO_INTERNET=1 %python_build ++++++ python-imageio-rpmlintrc ++++++ addFilter("W: zero-length /usr/lib/python.*/site-packages/imageio/resources/shipped_resources_go_here")