diff --git a/.files b/.files index a8233f2..d15d1ee 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 898c246..92a4611 100644 --- a/.rev +++ b/.rev @@ -542,4 +542,12 @@ GNOME 42 - ready for impact 963555 + + 67b5304ac7c475c6d4e0f27bb96404f8 + 3.44.1 + + dimstar_suse + + 964520 + diff --git a/alacarte-3.44.0.tar.xz b/alacarte-3.44.0.tar.xz deleted file mode 120000 index 8e7b287..0000000 --- a/alacarte-3.44.0.tar.xz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafkreidk2ixkbc627vatkrinhc6h5ad3mstkmbaj5houx2wn4nlfchu3py \ No newline at end of file diff --git a/alacarte-3.44.1.tar.xz b/alacarte-3.44.1.tar.xz new file mode 120000 index 0000000..09697a5 --- /dev/null +++ b/alacarte-3.44.1.tar.xz @@ -0,0 +1 @@ +/ipfs/bafkreictofmxsmh634wigrtgqvikypatxly52zcviqh4r7owp22vy36trq \ No newline at end of file diff --git a/alacarte.changes b/alacarte.changes index c226f33..8c2d125 100644 --- a/alacarte.changes +++ b/alacarte.changes @@ -1,4 +1,15 @@ ------------------------------------------------------------------- +Wed Mar 23 22:46:15 UTC 2022 - Luciano Santos + +- Update to version 3.44.1: + + Updated translations. +- Replace intltool build requirement with gettext to follow + upstream changes. +- Add a shell construct to check whether the ChangeLog file size is + zero or not. If it's zero, we don't package the file, but remove + it. + +------------------------------------------------------------------- Mon Mar 21 05:55:31 UTC 2022 - Luciano Santos - Update to version 3.44.0: diff --git a/alacarte.spec b/alacarte.spec index db1c1f7..2648871 100644 --- a/alacarte.spec +++ b/alacarte.spec @@ -16,12 +16,8 @@ # -# TODO -- Get rid of this once the Python stuff location issue gets -# sorted out (https://gitlab.gnome.org/GNOME/alacarte/-/issues/14). -%bcond_without aclocal_fix - Name: alacarte -Version: 3.44.0 +Version: 3.44.1 Release: 0 Summary: Menu editor for GNOME License: LGPL-2.1-or-later @@ -29,15 +25,11 @@ Group: System/GUI/GNOME URL: https://gitlab.gnome.org/GNOME/alacarte Source: https://download.gnome.org/sources/alacarte/3.44/%{name}-%{version}.tar.xz -%if %{with aclocal_fix} -BuildRequires: autoconf -BuildRequires: automake -%endif BuildRequires: fdupes +BuildRequires: gettext BuildRequires: glib2-devel # Needed for the typelib() dependency parser BuildRequires: gobject-introspection -BuildRequires: intltool BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: python3 >= 3.3 @@ -57,14 +49,8 @@ type to edit, add, and delete any menu entry. %prep %autosetup -p1 -%if %{with aclocal_fix} -sed -i -r 's/(sysconfig.)(get_default_scheme)/\1_\2/' aclocal.m4 -%endif %build -%if %{with aclocal_fix} -NOCONFIGURE=1 autoreconf -ifv -%endif %configure %make_build @@ -74,9 +60,17 @@ NOCONFIGURE=1 autoreconf -ifv %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot}%{_prefix} +# If ChangeLog is empty, don't package it. +if test -s ChangeLog; then + install -p -m 0644 -D ChangeLog \ + %{buildroot}%{_defaultdocdir}/Alacarte/ChangeLog +else + rm -f ChangeLog +fi + %files %license COPYING -%doc AUTHORS ChangeLog NEWS README +%doc AUTHORS NEWS README %{_bindir}/alacarte %{_datadir}/alacarte %{_datadir}/applications/alacarte.desktop