rpms/pipepanic/F-7 pipepanic.spec,1.2,1.3
Andrea Musuruane (musuruan)
fedora-extras-commits at redhat.com
Sat Oct 6 14:00:43 UTC 2007
Author: musuruan
Update of /cvs/pkgs/rpms/pipepanic/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12754/F-7
Modified Files:
pipepanic.spec
Log Message:
- Fixed COPYING-ARTWORK file encoding
- Updated icon cache scriptlets to be compliant to new guidelines
Index: pipepanic.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pipepanic/F-7/pipepanic.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pipepanic.spec 25 Aug 2007 13:29:47 -0000 1.2
+++ pipepanic.spec 6 Oct 2007 14:00:10 -0000 1.3
@@ -1,6 +1,6 @@
Name: pipepanic
Version: 0.1.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A pipe connecting game
Group: Amusements/Games
@@ -29,6 +29,10 @@
%patch0 -p0
%patch1 -p1
+# Fix file encoding
+iconv --from=ISO-8859-1 --to=UTF-8 COPYING-ARTWORK > COPYING-ARTWORK.conv
+mv COPYING-ARTWORK.conv COPYING-ARTWORK
+
# Fix DATADIR
sed -i 's:/opt/QtPalmtop/share/pipepanic/:%{_datadir}/%{name}/:' main.h
@@ -74,12 +78,16 @@
%post
touch --no-create %{_datadir}/icons/hicolor
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
%postun
touch --no-create %{_datadir}/icons/hicolor
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
%files
@@ -95,6 +103,10 @@
%changelog
+* Sat Oct 06 2007 Andrea Musuruane <musuruan at gmail.com> 0.1.3-4
+- Fixed COPYING-ARTWORK file encoding
+- Updated icon cache scriptlets to be compliant to new guidelines
+
* Mon Aug 20 2007 Andrea Musuruane <musuruan at gmail.com> 0.1.3-3
- Changed license due to new guidelines
- Removed %%{?dist} tag from changelog
More information about the fedora-extras-commits
mailing list