Hello community, here is the log from the commit of package libfm for openSUSE:Factory checked in at 2019-06-17 21:34:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libfm (Old) and /work/SRC/openSUSE:Factory/.libfm.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfm" Mon Jun 17 21:34:31 2019 rev:57 rq:710306 version:1.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libfm/libfm.changes 2018-12-28 12:35:08.747970863 +0100 +++ /work/SRC/openSUSE:Factory/.libfm.new.4811/libfm.changes 2019-06-17 21:35:13.874998668 +0200 @@ -1,0 +2,8 @@ +Sat Jun 15 19:04:43 UTC 2019 - Antoine Belvire <antoine.belv...@opensuse.org> + +- Removed calls to update-mime-database/update-desktop-database + from scriptlets: They are automatically performed via RPM file + triggers. +- Ran spec-cleaner. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libfm.spec ++++++ --- /var/tmp/diff_new_pack.lz4BeP/_old 2019-06-17 21:35:14.322998567 +0200 +++ /var/tmp/diff_new_pack.lz4BeP/_new 2019-06-17 21:35:14.322998567 +0200 @@ -1,7 +1,7 @@ # # spec file for package libfm # -# 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 @@ -22,29 +22,26 @@ Summary: A glib/gio-based lib used to develop file managers License: GPL-2.0-or-later Group: Development/Libraries/C and C++ -Url: http://www.lxde.org/ +URL: http://www.lxde.org/ Source: https://github.com/lxde/libfm/archive/%{version}.tar.gz Source1: %{name}-rpmlintrc Patch0: libfm-default-config.patch BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: gtk2-devel >= 2.18.0 -BuildRequires: intltool >= 0.40.0 -BuildRequires: libtool -BuildRequires: pkgconfig(dbus-glib-1) -BuildRequires: pkgconfig(libmenu-cache) >= 0.3.2 -# Optional: needed for custom actions support -BuildRequires: vala >= 0.13.0 # Optional: HTML developers documentation BuildRequires: gtk-doc >= 1.14 +BuildRequires: gtk2-devel >= 2.18.0 +BuildRequires: intltool >= 0.40.0 # Optional: needed to load embbeded thumbnails in jpeg BuildRequires: libexif-devel +BuildRequires: libtool +BuildRequires: pkgconfig BuildRequires: update-desktop-files -Recommends: %{name}-lang +# Optional: needed for custom actions support +BuildRequires: vala >= 0.13.0 +BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(libmenu-cache) >= 0.3.2 Recommends: lxshortcut-%{version} -Requires(pre): desktop-file-utils -Requires(pre): shared-mime-info -BuildRoot: %{_tmppath}/%{name}-%{version}-build %lang_package %description @@ -55,7 +52,6 @@ functionality. For example, you can create your own file manager with facilities provided by libfm. - %package -n libfm4 Summary: Libfm libraries # libfm is extensible by modules - which are in the main package @@ -66,7 +62,6 @@ %description -n libfm4 libfm main library - %package -n libfm-gtk4 Summary: GTK libfm libraries Group: System/Libraries @@ -82,20 +77,18 @@ LXShortcut is a small program used to edit application shortcuts created with freedesktop.org Desktop Entry spec. - %package devel Summary: Devel files for libfm Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: libfm4 = %{version} -Requires: pkg-config +Requires: pkgconfig Requires: pkgconfig(libfm-extra) %description devel A glib/gio-based lib used to develop file managers providing some file management utilities and related-widgets missing in gtk+/glib. - %package -n libfm-gtk-devel Summary: GTK devel files for libfm Group: Development/Libraries/C and C++ @@ -103,7 +96,7 @@ Requires: gtk2-devel Requires: libfm-gtk4 = %{version} Requires: libfm4 = %{version} -Requires: pkg-config +Requires: pkgconfig %description -n libfm-gtk-devel GTK libfm libraries for development @@ -116,7 +109,6 @@ %description doc libfm developers documentation - %prep %setup -q %patch0 -p1 @@ -152,25 +144,14 @@ %fdupes -s %{buildroot}/%{_datadir}/locale %suse_update_desktop_file -u -r -G 'Shortcut Editor' lxshortcut Utility DesktopUtility GTK -%post -/sbin/ldconfig -/usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : - -%postun -/sbin/ldconfig -/usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : -/usr/bin/update-desktop-database - +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %post -n libfm4 -p /sbin/ldconfig - %postun -n libfm4 -p /sbin/ldconfig - %post -n libfm-gtk4 -p /sbin/ldconfig - %postun -n libfm-gtk4 -p /sbin/ldconfig %files -%defattr(-,root,root) %dir %{_sysconfdir}/xdg/%{name} %config %{_sysconfdir}/xdg/%{name}/%{name}.conf %dir %{_libdir}/%{name}/ @@ -188,7 +169,6 @@ %{_datadir}/mime/packages/%{name}.xml %files devel -%defattr(-,root,root) %dir %{_includedir}/%{name}-1.0 %exclude %{_includedir}/%{name}-1.0/fm-gtk*.h %{_includedir}/%{name}-1.0/*.h @@ -196,24 +176,19 @@ %{_libdir}/%{name}.so %files -n libfm-gtk-devel -%defattr(-,root,root) %{_includedir}/%{name}-1.0/fm-gtk*.h %{_libdir}/pkgconfig/%{name}-gtk.pc %{_libdir}/%{name}-gtk.so %files doc -%defattr(-,root,root) %{_datadir}/gtk-doc/html/%{name} %files lang -f %{name}.lang -%defattr(-,root,root,-) %files -n libfm4 -%defattr(-,root,root) %{_libdir}/libfm.so.* %files -n libfm-gtk4 -%defattr(-,root,root) %{_libdir}/libfm-gtk.so.* %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/ui @@ -221,9 +196,8 @@ %{_datadir}/%{name}/ui/*.ui %files -n lxshortcut -%defattr(-,root,root) %{_bindir}/lxshortcut %{_datadir}/applications/lxshortcut.desktop -%{_mandir}/man1/lxshortcut.1.gz +%{_mandir}/man1/lxshortcut.1%{?ext_man} %changelog