Hello community, here is the log from the commit of package menulibre for openSUSE:Factory checked in at 2019-06-19 21:02:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/menulibre (Old) and /work/SRC/openSUSE:Factory/.menulibre.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "menulibre" Wed Jun 19 21:02:37 2019 rev:2 rq:706728 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/menulibre/menulibre.changes 2018-10-15 09:43:06.695392287 +0200 +++ /work/SRC/openSUSE:Factory/.menulibre.new.4811/menulibre.changes 2019-06-19 21:02:49.306210760 +0200 @@ -1,0 +2,20 @@ +Fri May 31 15:33:30 UTC 2019 - Maurizio Galli <maurizio.ga...@gmail.com> + +- Polished spec file: + - Remove hashbang line from non-executable library files + - Replaced python3 with %{__python3} macro + - Added check with desktop-file-validate + +------------------------------------------------------------------- +Fri May 31 12:24:15 UTC 2019 - Vinzenz Vietzke <v...@vinzv.de> + +- Update version to 2.2.1 + * Automatically generate changelog when built from git or released + * Bug Fixes + - Correctly display markup in the application name (lp#1813427) + - Fix UnicodeDecodeError with non-English locales (lp#1825213) + - Drop invalid error for non-existent Exec key (lp#1788814) + - Decode stderr as UTF-8 (lp#1789635) + * Translation Updates + +------------------------------------------------------------------- Old: ---- menulibre-2.2.0.tar.gz New: ---- menulibre-2.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ menulibre.spec ++++++ --- /var/tmp/diff_new_pack.TVu0wI/_old 2019-06-19 21:02:50.318211638 +0200 +++ /var/tmp/diff_new_pack.TVu0wI/_new 2019-06-19 21:02:50.322211641 +0200 @@ -1,7 +1,7 @@ # # spec file for package menulibre # -# 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 @@ -16,14 +16,17 @@ # +%bcond_with git + Name: menulibre -Version: 2.2.0 +Version: 2.2.1 Release: 0 Summary: Desktop menu editor License: GPL-3.0-only Group: System/GUI/Other -URL: https://launchpad.net/menulibre +URL: https://bluesabre.org/projects/menulibre/ Source: https://launchpad.net/menulibre/2.2/%{version}/+download/%{name}-%{version}.tar.gz +BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: gnome-menus BuildRequires: gobject-introspection @@ -34,9 +37,9 @@ BuildRequires: python3-distutils-extra BuildRequires: python3-gobject BuildRequires: python3-psutil -BuildRequires: typelib(Gtk) = 3.0 BuildRequires: update-desktop-files BuildRequires: xdg-utils +BuildRequires: typelib(Gtk) = 3.0 Requires: gnome-menus Requires: hicolor-icon-theme Requires: python3 @@ -53,17 +56,19 @@ %lang_package %prep -%setup -q +%autosetup %build -: %install -python3 setup.py install --root=%{buildroot} +%{__python3} setup.py install --root=%{buildroot} -# Fix permissions of .py files -chmod a+x %{buildroot}%{python3_sitelib}/%{name}/*.py -chmod a+x %{buildroot}%{python3_sitelib}/%{name}_lib/*.py +# Remove hashbang line from non-executable library files +for lib in %{buildroot}%{python3_sitelib}/menulibre{,_lib}/*.py; do + sed '1{\@^#!/usr/bin/python3@d}' $lib > $lib.new && + touch -r $lib $lib.new && + mv $lib.new $lib +done # Fix name issue in menulibre.desktop with Budgie and Pantheon desktop-file-edit %{buildroot}%{_datadir}/applications/%{name}.desktop --remove-only-show-in="Pantheon" \ @@ -82,6 +87,8 @@ # Fix duplicate icon %fdupes %{buildroot}%{_datadir}/icons/hicolor/ +desktop-file-validate %{buildroot}/%{_datadir}/applications/menulibre.desktop + %find_lang %{name} %files -f %{name}.lang ++++++ menulibre-2.2.0.tar.gz -> menulibre-2.2.1.tar.gz ++++++ ++++ 11893 lines of diff (skipped)