scriplets: silence output, ignore errors

%license COPYING
drop deprecated Group: tag
This commit is contained in:
Rex Dieter 2018-02-05 06:37:37 -06:00
parent a0de4e9657
commit a98dda4413

View File

@ -4,7 +4,7 @@
Summary: Utilities for manipulating .desktop files Summary: Utilities for manipulating .desktop files
Name: desktop-file-utils Name: desktop-file-utils
Version: 0.23 Version: 0.23
Release: 5%{?dist} Release: 6%{?dist}
URL: https://www.freedesktop.org/software/desktop-file-utils URL: https://www.freedesktop.org/software/desktop-file-utils
Source0: https://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz Source0: https://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
Source1: desktop-entry-mode-init.el Source1: desktop-entry-mode-init.el
@ -13,7 +13,6 @@ Source1: desktop-entry-mode-init.el
# https://cgit.freedesktop.org/xdg/desktop-file-utils/commit/?id=5b88c95c45e91781aed441c446210c6979350c3f # https://cgit.freedesktop.org/xdg/desktop-file-utils/commit/?id=5b88c95c45e91781aed441c446210c6979350c3f
Patch0: desktop-file-utils-0.23-add-pantheon.patch Patch0: desktop-file-utils-0.23-add-pantheon.patch
License: GPLv2+ License: GPLv2+
Group: Development/Tools
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: emacs BuildRequires: emacs
@ -49,13 +48,14 @@ install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-
touch $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.elc touch $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.elc
%transfiletriggerin -- %{_datadir}/applications %transfiletriggerin -- %{_datadir}/applications
update-desktop-database update-desktop-database &> /dev/null || :
%transfiletriggerpostun -- %{_datadir}/applications %transfiletriggerpostun -- %{_datadir}/applications
update-desktop-database update-desktop-database &> /dev/null || :
%files %files
%doc AUTHORS COPYING README NEWS %doc AUTHORS README NEWS
%license COPYING
%{_bindir}/* %{_bindir}/*
%{_mandir}/man1/desktop-file-install.1.gz %{_mandir}/man1/desktop-file-install.1.gz
%{_mandir}/man1/desktop-file-validate.1.gz %{_mandir}/man1/desktop-file-validate.1.gz
@ -66,6 +66,11 @@ update-desktop-database
%{_emacs_sitelispdir}/%{pkg} %{_emacs_sitelispdir}/%{pkg}
%changelog %changelog
* Mon Feb 05 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.23-6
- scriplets: silence output, ignore errors
- %%license COPYING
- drop deprecated Group: tag
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-5 * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild