Compare commits

...
Sign in to create a new pull request.

9 commits

Author SHA1 Message Date
Kalev Lember
882b4f2b34 Merge remote-tracking branch 'origin/f28' into epel7 2018-11-08 19:53:44 +01:00
Kalev Lember
21578dec3a Add RHEL 7 conditionals 2017-08-15 13:31:39 +02:00
Kalev Lember
f5427bd16e Merge remote-tracking branch 'origin/f25' into epel7 2017-08-15 13:24:14 +02:00
Moez Roy
e150e9f94f comment out BuildRequires: perl(Locale::gettext) 2015-12-05 11:03:20 -08:00
Moez Roy
709b2014a0 Merge remote-tracking branch 'origin/f21' into epel7
Conflicts:
	.gitignore
	anjuta.spec
	sources
2015-12-05 10:52:33 -08:00
Moez Roy
ee45a1bcae fix sources file 2015-02-14 00:05:00 -08:00
Moez Roy
6c34b7b2dc Merge remote-tracking branch 'origin/f20' into epel7
Conflicts:
	.gitignore
	anjuta.spec
	sources
2015-02-13 23:11:44 -08:00
Michael Catanzaro
2626ad8b0e Update to 3.14.1 2015-01-26 09:06:08 -06:00
Richard Hughes
2f323a56ce Update to 3.10.2 2013-11-21 17:14:09 +00:00

View file

@ -131,6 +131,28 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/anjuta.desktop
%post
/sbin/ldconfig
/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
/usr/bin/update-desktop-database &> /dev/null || :
%postun
/sbin/ldconfig
/usr/bin/update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
fi
%posttrans
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%files -f %{name}.lang
%license COPYING
%doc AUTHORS