[gnurobbo] - Removing original levels to avoid distributing possibly illegal content (#1157664)
Jaromír Cápík
jcapik at fedoraproject.org
Fri Jan 2 15:51:56 UTC 2015
commit 68b93dbafca72ef74b17fec79d26213ae2e07330
Author: Jaromir Capik <jcapik at redhat.com>
Date: Fri Jan 2 16:51:58 2015 +0100
- Removing original levels to avoid distributing possibly illegal content (#1157664)
gnurobbo-remove-original-levels.patch | 12 ++++++++++++
gnurobbo.spec | 10 ++++++++--
sources | 2 +-
3 files changed, 21 insertions(+), 3 deletions(-)
---
diff --git a/gnurobbo-remove-original-levels.patch b/gnurobbo-remove-original-levels.patch
new file mode 100644
index 0000000..a240a37
--- /dev/null
+++ b/gnurobbo-remove-original-levels.patch
@@ -0,0 +1,12 @@
+diff -Naur gnurobbo-0.66svn412.orig/levels.h gnurobbo-0.66svn412/levels.h
+--- gnurobbo-0.66svn412.orig/levels.h 2010-08-24 23:57:10.000000000 +0200
++++ gnurobbo-0.66svn412/levels.h 2015-01-02 16:40:22.631654038 +0100
+@@ -26,7 +26,7 @@
+ #endif
+ #define LEVELS_DIR "levels"
+ #define DEFAULT_USER_LEVEL_PACK "mylevels.dat"
+-#define DEFAULT_LEVEL_PACK "original.dat"
++#define DEFAULT_LEVEL_PACK "demo.dat"
+ #define DEFAULT_LEVEL_START 1 /* Start level for Robbo */
+ #define DEFAULT_LEVEL_COLOUR 0x608050
+
diff --git a/gnurobbo.spec b/gnurobbo.spec
index 2f1e71f..08664f7 100644
--- a/gnurobbo.spec
+++ b/gnurobbo.spec
@@ -8,7 +8,7 @@
Name: gnurobbo
Version: 0.66
-Release: 5.%{date}svn%{rev}%{?dist}
+Release: 6.%{date}svn%{rev}%{?dist}
Summary: Port of an once famous game named Robbo from 1989
License: GPLv2+
@@ -20,6 +20,7 @@ Source1: %{name}-svn-tarball.sh
Patch0: https://sf.net/p/%{name}/patches/12/attachment/%{name}-cmake.patch
Patch1: https://sf.net/p/%{name}/patches/13/attachment/%{name}-hardening.patch
+Patch2: gnurobbo-remove-original-levels.patch
##icons additionally
Source10: https://svn.code.sf.net/p/%{name}/code/%{name}.16.png.bz2
@@ -73,7 +74,7 @@ The game-play of the original is faithfully reproduced with a few modifications
+ Bears don't endlessly spin around themselves
+ Capsules don't spawn from question marks
+ Solid laser fire is not left live after the gun has been destroyed
-
+
Take a look into %{readme} about legal issues cause of missing content.
@@ -101,6 +102,8 @@ cp -p %SOURCE20 %{readme}
##do not distribute any illegal content
sed -i s,add_subdirectory.data.,, CMakeLists.txt
+%patch2 -p1
+
%build
##fonts and sounds are not redistributable, ignore them
@@ -176,6 +179,9 @@ fi
%changelog
+* Fri Jan 02 2015 Jaromir Capik <jcapik at redhat.com> - 0.66-6.20141028svn412
+- Removing original levels to avoid distributing possibly illegal content (#1157664)
+
* Fri Jan 02 2015 Jaromir Capik <jcapik at redhat.com> - 0.66-5.20141028svn412
- R: gnurobbo-tronic as it seems to be the only legal skin now (#1171461)
diff --git a/sources b/sources
index d579303..4370c00 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-52be5f8ad2c5ed7d87a9b834bf64c2db gnurobbo-0.66svn412.tar.xz
+51ccd0e48c909d1a1781739818a15841 gnurobbo-0.66svn412.tar.xz
fe2bfbb8e9d2ec75e8c8b4b077f050f4 gnurobbo-svn-tarball.sh
0392189ed5f7372531d13cdbc07caa87 gnurobbo.16.png.bz2
bd65222d33680a16a25f94b488dd5b0c gnurobbo.32.png.bz2
More information about the scm-commits
mailing list