Hello community, here is the log from the commit of package python3-veusz for openSUSE:Factory checked in at 2016-08-24 10:08:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-veusz (Old) and /work/SRC/openSUSE:Factory/.python3-veusz.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-veusz" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-veusz/python3-veusz.changes 2016-05-10 09:27:53.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-veusz.new/python3-veusz.changes 2016-08-24 10:08:18.000000000 +0200 @@ -1,0 +2,17 @@ +Wed Aug 3 00:36:41 UTC 2016 - badshah...@gmail.com + +- Rename veusz3 to veusz (the GUI application has been dropped + from the python2 version): + + Remove all references to veusz3 in spec file. + + Obsolete and provide veusz3. + +------------------------------------------------------------------- +Wed Jul 6 21:35:33 UTC 2016 - badshah...@gmail.com + +- Move all application related files to subpackage veusz3, leaving + only actualy python modules in the python3-veusz pkg. +- Hardlink icons from pixmaps/veusz3 to hicolor-icon-theme, as + symlinked icons lead to appstream-builder being unable to + detect them and vetoes the application consequently. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-veusz.spec ++++++ --- /var/tmp/diff_new_pack.4yQsoT/_old 2016-08-24 10:08:20.000000000 +0200 +++ /var/tmp/diff_new_pack.4yQsoT/_new 2016-08-24 10:08:20.000000000 +0200 @@ -16,7 +16,7 @@ # -%define appname veusz3 +%define appname veusz %define X_display ":98" %{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}} Name: python3-veusz @@ -65,6 +65,8 @@ Requires: %{name} = %{version} Requires(post): desktop-file-utils Requires(postun): desktop-file-utils +Obsoletes: veusz3 <= 1.24 +Provides: veusz3 = %{version} %description -n %{appname} Veusz is a scientific plotting package, designed to create @@ -79,14 +81,6 @@ find -name \*~ | xargs rm -f %build -# Edit .desktop and related files to veusz3 as appname -sed -i "s/veusz\.desktop/veusz3\.desktop/g" support/veusz.appdata.xml -sed -i "s/Veusz/Veusz3/g" support/veusz.appdata.xml -sed -i "s/veusz/veusz3/g" support/veusz.desktop -sed -i "s/Veusz/Veusz3/g" support/veusz.desktop -sed -i "s/x-veusz/x-veusz3/g" support/veusz.xml -sed -i "s/Veusz/Veusz3/g" support/veusz.xml - CFLAGS="%{optflags}" python3 setup.py build @@ -97,7 +91,6 @@ # Install .desktop, mime and appdata files from upstream tarball install -Dm0644 support/veusz.appdata.xml %{buildroot}%{_datadir}/appdata/%{appname}.appdata.xml install -Dm0644 support/veusz.xml %{buildroot}/%{_datadir}/mime/packages/%{appname}.xml -mv support/veusz.desktop support/%{appname}.desktop desktop-file-install -m 0644 \ --dir=%{buildroot}/%{_datadir}/applications/ \ --add-category=2DGraphics \ @@ -114,16 +107,16 @@ ln -s %{_datadir}/pixmaps/%{appname}/$i \ %{buildroot}%{python3_sitearch}/veusz/icons/$i ; done -# symlink main veusz icon also into hicolor-icon-theme dir (for desktop file) +# hardlink main veusz icon also into hicolor-icon-theme dir (for desktop file) install -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/%{appname}/veusz_256.png for size in 16 32 48 64 128 256; do odir=%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps mkdir -p $odir - ln -s %{_datadir}/pixmaps/%{appname}/veusz_${size}.png ${odir}/%{appname}.png + ln %{buildroot}%{_datadir}/pixmaps/%{appname}/veusz_${size}.png ${odir}/%{appname}.png done odir=%{buildroot}%{_datadir}/icons/hicolor/scalable/apps mkdir -p $odir -ln -s %{_datadir}/pixmaps/%{appname}/veusz.svg $odir/%{appname}.svg +ln %{buildroot}%{_datadir}/pixmaps/%{appname}/veusz.svg $odir/%{appname}.svg # Mark some scripts as executable. # This isn't really needed, but Veusz includes shebangs in scripts @@ -134,16 +127,11 @@ # install man pages mkdir -p %{buildroot}%{_mandir}/man1 -mv Documents/veusz.1 Documents/%{appname}.1 -mv Documents/veusz_listen.1 Documents/%{appname}_listen.1 install -p Documents/%{appname}.1 Documents/%{appname}_listen.1 -m 0644 \ %{buildroot}%{_mandir}/man1 install -m0644 COPYING %{buildroot}%{python3_sitearch}/veusz/ -mv %{buildroot}%{_bindir}/veusz %{buildroot}%{_bindir}/%{appname} -mv %{buildroot}%{_bindir}/veusz_listen %{buildroot}%{_bindir}/%{appname}_listen - %fdupes -s %{buildroot}%{python3_sitearch} %fdupes %{buildroot}%{_datadir}/pixmaps/%{appname}/ @@ -177,11 +165,6 @@ %doc README AUTHORS COPYING ChangeLog %doc Documents/manual.html %doc Documents/manimages/ -%{_datadir}/pixmaps/%{appname}/ -%dir %{_datadir}/appdata -%{_datadir}/appdata/%{appname}.appdata.xml -%{_datadir}/icons/hicolor/*/apps/%{appname}.* -%{_datadir}/mime/packages/%{appname}.xml %{python3_sitearch}/veusz-%{version}-py*.egg-info %{python3_sitearch}/veusz/ @@ -191,5 +174,10 @@ %{_bindir}/%{appname}_listen %{_datadir}/applications/%{appname}.desktop %{_mandir}/man1/* +%{_datadir}/pixmaps/%{appname}/ +%dir %{_datadir}/appdata +%{_datadir}/appdata/%{appname}.appdata.xml +%{_datadir}/icons/hicolor/*/apps/%{appname}.* +%{_datadir}/mime/packages/%{appname}.xml %changelog