[pingus] exec script fix.

Jon Ciesla limb at fedoraproject.org
Mon Oct 31 15:07:53 UTC 2011


commit 0bd122f7d0c10f86844a7dbcbcf5194c4d871acc
Author: Jon Ciesla <limb at jcomserv.net>
Date:   Mon Oct 31 10:07:31 2011 -0500

    exec script fix.

 pingus-0.7.4-binsh.patch |   11 +++++++++++
 pingus.spec              |    7 ++++++-
 2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/pingus-0.7.4-binsh.patch b/pingus-0.7.4-binsh.patch
new file mode 100644
index 0000000..5cf67ac
--- /dev/null
+++ b/pingus-0.7.4-binsh.patch
@@ -0,0 +1,11 @@
+--- Makefile~	2011-10-31 08:40:11.000000000 -0500
++++ Makefile	2011-10-31 08:40:34.000000000 -0500
+@@ -39,7 +39,7 @@
+ 	install -d "$(DESTDIR)$(BINDIR)"
+ 
+ 	install -D build/pingus "$(DESTDIR)$(BINDIR)/pingus.bin"
+-	echo "#!/bin/sh\nexec \"$(BINDIR)/pingus.bin\" --datadir \"$(DATADIR)\"" > "$(DESTDIR)$(BINDIR)/pingus"
++	echo -e "#!/bin/sh\nexec \"$(BINDIR)/pingus.bin\" --datadir \"$(DATADIR)\"" > "$(DESTDIR)$(BINDIR)/pingus"
+ 	chmod 755 "$(DESTDIR)$(BINDIR)/pingus"
+ 
+ install-data:
diff --git a/pingus.spec b/pingus.spec
index 8d0b258..9a29821 100644
--- a/pingus.spec
+++ b/pingus.spec
@@ -1,6 +1,6 @@
 Name:           pingus
 Version:        0.7.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Guide the penguins safely home before they drop of the cliff
 Group:          Amusements/Games
 License:        GPLv2+
@@ -10,6 +10,7 @@ Source1:        pingus.desktop
 Source2:        pingus.png
 #Patch0:         pingus-0.7.2-gcc43.patch
 #Patch1:         pingus-0.7.2-gcc44.patch
+Patch2:		pingus-0.7.4-binsh.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  SDL_mixer-devel SDL_image-devel boost-devel libpng-devel
 BuildRequires:  physfs-devel scons desktop-file-utils
@@ -28,6 +29,7 @@ combination of commands are necessary. The game is presented in a 2D site view.
 %setup -q
 #%patch0 -p1
 #%patch1 -p0
+%patch2 -p0
 iconv -f ISO8859-2 -t UTF8 AUTHORS > AUTHORS.tmp
 mv AUTHORS.tmp AUTHORS
 
@@ -82,6 +84,9 @@ fi
 
 
 %changelog
+* Mon Oct 31 2011 Jon Ciesla <limb at jcomserv.net> - 0.7.4-2
+- Patched Makefile to fix bogus dep.
+
 * Thu Oct 20 2011 Jon Ciesla <limb at jcomserv.net> - 0.7.4-1
 - New upstream.
 


More information about the scm-commits mailing list