Author: jwrdegoede
Update of /cvs/free/rpms/smc/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30151
Modified Files:
smc.spec
Log Message:
* Sat Jul 23 2011 Hans de Goede <j.w.r.degoede(a)gmail.com> - 1.9-8
- rebuild for new libboost
Index: smc.spec
===================================================================
RCS file: /cvs/free/rpms/smc/devel/smc.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- smc.spec 10 Feb 2011 20:45:10 -0000 1.15
+++ smc.spec 23 Jul 2011 19:28:54 -0000 1.16
@@ -1,6 +1,6 @@
Name: smc
Version: 1.9
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: 2D platform game that uses OpenGL in a style similar to Super Mario
Group: Amusements/Games
License: GPLv3
@@ -14,7 +14,6 @@
Patch1: smc-fixes-for-cegui-v0-7.diff
# submitted upstream
Patch2: smc-1.9-boost-filesystem-v3.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libX11-devel
BuildRequires: gettext-devel
BuildRequires: boost-devel >= 1.46
@@ -76,7 +75,6 @@
%install
-rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
install -pm0644 data/icon/window_32.png \
@@ -89,23 +87,18 @@
%{name}.desktop
-%clean
-rm -rf %{buildroot}
-
-
%post
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-touch --no-create %{_datadir}/icons/hicolor || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
%files
%defattr(-,root,root,-)
@@ -118,6 +111,9 @@
%changelog
+* Sat Jul 23 2011 Hans de Goede <j.w.r.degoede(a)gmail.com> - 1.9-8
+- rebuild for new libboost
+
* Thu Feb 10 2011 Hans de Goede <j.w.r.degoede(a)hhs.nl> - 1.9-7
- rebuild for new libboost
Show replies by date