Adjustments for EPEL

This commit is contained in:
Björn Esser 2017-09-01 15:04:48 +02:00
parent c133af18af
commit fd58107706
1 changed files with 10 additions and 1 deletions

View File

@ -11,7 +11,7 @@
Name: xreader
Version: 1.4.4
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Simple document viewer
License: GPLv2+
@ -170,10 +170,16 @@ if [ $1 -eq 0 ]; then
fi
%if (0%{?fedora} && 0%{?fedora} <=24) || (0%{?rhel} && 0%{?rhel} <= 7)
%{_bindir}/update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
%endif (0%%{?fedora} && 0%%{?fedora} <=24) || (0%%{?rhel} && 0%%{?rhel} <= 7)
%posttrans
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%if (0%{?fedora} && 0%{?fedora} <=24) || (0%{?rhel} && 0%{?rhel} <= 7)
%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%endif (0%%{?fedora} && 0%%{?fedora} <=24) || (0%%{?rhel} && 0%%{?rhel} <= 7)
%files -f %{name}.lang
@ -228,6 +234,9 @@ fi
%changelog
* Fri Sep 01 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.4-4
- Adjustments for EPEL
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild