commit python-veusz for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-veusz for openSUSE:Factory checked in at 2021-12-30 15:55:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-veusz (Old) and /work/SRC/openSUSE:Factory/.python-veusz.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-veusz" Thu Dec 30 15:55:46 2021 rev:49 rq:943224 version:3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-veusz/python-veusz.changes 2021-10-28 18:31:33.804419243 +0200 +++ /work/SRC/openSUSE:Factory/.python-veusz.new.1896/python-veusz.changes 2021-12-30 15:56:13.336691632 +0100 @@ -1,0 +2,6 @@ +Tue Dec 28 19:19:24 UTC 2021 - Ben Greiner <code@bnavigator.de> + +- Fix build requirements: This one actually uses SIP >=5 now. +- Clean up unused python2 expressions in specfile + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-veusz.spec ++++++ --- /var/tmp/diff_new_pack.G6azr5/_old 2021-12-30 15:56:13.816692002 +0100 +++ /var/tmp/diff_new_pack.G6azr5/_new 2021-12-30 15:56:13.816692002 +0100 @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 %define skip_python36 1 Name: python-veusz @@ -33,8 +33,7 @@ BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module qt5-devel} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module sip4-devel} -BuildRequires: %{python_module sip4} +BuildRequires: %{python_module sip-devel} BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: hicolor-icon-theme @@ -86,12 +85,7 @@ sed -E -i "/\#!\/usr\/bin\/env python/d" veusz/veusz_{listen,main}.py %build -# no-strict-aliasing required for python2 -%ifpython2 -export CFLAGS="%{optflags} -fno-strict-aliasing" -%else export CFLAGS="%{optflags}" -%endif %python_build @@ -109,17 +103,17 @@ # move icon files to /usr/share/pixmaps/veusz %python_expand install -m 0644 %{SOURCE3} %{buildroot}%{$python_sitearch}/veusz/icons/veusz_256.png mkdir -p %{buildroot}%{_datadir}/pixmaps/veusz -ln -s %{python_sitearch}/veusz/icons %{buildroot}%{_datadir}/pixmaps/veusz +ln -s %{python3_sitearch}/veusz/icons %{buildroot}%{_datadir}/pixmaps/veusz # hardlink main veusz icon also into hicolor-icon-theme dir (for desktop file) for size in 16 32 48 64 128 256; do odir=%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps mkdir -p $odir - ln -s %{python_sitearch}/veusz/icons/veusz_${size}.png ${odir}/veusz.png + ln -s %{python3_sitearch}/veusz/icons/veusz_${size}.png ${odir}/veusz.png done odir=%{buildroot}%{_datadir}/icons/hicolor/scalable/apps mkdir -p $odir -ln -s %{python_sitearch}/veusz/icons/veusz.svg $odir/veusz.svg +ln -s %{python3_sitearch}/veusz/icons/veusz.svg $odir/veusz.svg # install man pages mkdir -p %{buildroot}%{_mandir}/man1 @@ -128,8 +122,7 @@ # Remove an unneeded hidden file from documentation rm Documents/manual/html/.buildinfo -%fdupes %{buildroot}%{python_sitearch}/veusz/ -%fdupes %{buildroot}%{python3_sitearch}/veusz/ +%python_expand %fdupes %{buildroot}%{$python_sitearch}/veusz/ %check %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} ++++++ python-veusz-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.G6azr5/_old 2021-12-30 15:56:13.840692021 +0100 +++ /var/tmp/diff_new_pack.G6azr5/_new 2021-12-30 15:56:13.844692023 +0100 @@ -1,3 +1,3 @@ -# The '\r' is not supposed to be fixed in this .inv file -addFilter("wrong-file-end-of-line-encoding .*/usr/share/doc/packages/python3-veusz/html/objects.inv") +# https://bugzilla.opensuse.org/show_bug.cgi?id=1191584 +addFilter("unstripped-binary-or-object .*python.*\.so")
participants (1)
-
Source-Sync