spec file cleanups

This commit is contained in:
Matthias Clasen 2013-07-02 11:48:17 -04:00
parent 11bbdf01b3
commit 6aa265c9de

View File

@ -1,7 +1,7 @@
Name: brasero Name: brasero
Version: 3.8.0 Version: 3.8.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Gnome CD/DVD burning application Summary: Gnome CD/DVD burning application
Group: Applications/Multimedia Group: Applications/Multimedia
# see https://bugzilla.gnome.org/show_bug.cgi?id=683503 # see https://bugzilla.gnome.org/show_bug.cgi?id=683503
@ -120,7 +120,6 @@ make %{?_smp_mflags}
%install %install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%find_lang %{name} %find_lang %{name}
@ -152,7 +151,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
update-desktop-database &> /dev/null ||: update-desktop-database &> /dev/null ||:
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor || : touch --no-create %{_datadir}/icons/hicolor || :
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null|| : gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi fi
@ -161,7 +160,7 @@ fi
%posttrans %posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null|| : gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
@ -203,6 +202,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%changelog %changelog
* Tue Jul 2 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.0-2
- Cosmetic spec file cleanups
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1 * Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
- Update to 3.8.0 - Update to 3.8.0