Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-morecvutils for openSUSE:Factory checked in at 2022-01-17 22:34:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-morecvutils (Old) and /work/SRC/openSUSE:Factory/.python-morecvutils.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-morecvutils" Mon Jan 17 22:34:07 2022 rev:4 rq:946887 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-morecvutils/python-morecvutils.changes 2021-04-29 01:38:58.646627512 +0200 +++ /work/SRC/openSUSE:Factory/.python-morecvutils.new.1892/python-morecvutils.changes 2022-01-17 22:34:50.346275247 +0100 @@ -1,0 +2,6 @@ +Sun Jan 16 16:32:59 UTC 2022 - Benjamin Greiner <c...@bnavigator.de> + +- The buildservice doesn't use the coveralls package +- Clean some script-interpreter issues reported by rpmlint + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-morecvutils.spec ++++++ --- /var/tmp/diff_new_pack.20qVwH/_old 2022-01-17 22:34:50.842275576 +0100 +++ /var/tmp/diff_new_pack.20qVwH/_new 2022-01-17 22:34:50.846275578 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-morecvutils # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define pythons python3 Name: python-morecvutils Version: 1.0.2 @@ -37,7 +37,6 @@ Requires: python-opencv BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module coveralls} BuildRequires: %{python_module imageio-ffmpeg} BuildRequires: %{python_module imageio} BuildRequires: %{python_module numpy} @@ -55,12 +54,21 @@ %prep %setup -q -n morecvutils-%{version} +# no main section: no interpreter +sed -i '1{/env python/d}' morecvutils/calcOptFlow.py +# remove executable bits from Demo files +chmod -x Demo* OpticalFlow_Python_vs_Matlab.py %build %python_build %install %python_install +%{python_expand # main section present: make executable and patch shebang +chmod +x %{buildroot}%{$python_sitelib}/morecvutils/getaviprop.py +sed -i '1{s/env python.*/$python/}' %{buildroot}%{$python_sitelib}/morecvutils/getaviprop.py +} +%{?python_compileall} %python_expand %fdupes %{buildroot}%{$python_sitelib} # Don't put demos in bindir @@ -76,6 +84,7 @@ %doc Demo* %doc OpticalFlow_Python_vs_Matlab.py %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/morecvutils +%{python_sitelib}/morecvutils-%{version}*-info %changelog