rpms/escape/devel escape-200704130-update-remove.patch, NONE, 1.1 escape.spec, 1.7, 1.8
Adam Goode (agoode)
fedora-extras-commits at redhat.com
Sat Oct 13 03:12:35 UTC 2007
Author: agoode
Update of /cvs/extras/rpms/escape/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9916
Modified Files:
escape.spec
Added Files:
escape-200704130-update-remove.patch
Log Message:
* Fri Oct 12 2007 Adam Goode <adam at spicenitz.org> - 200704130-6
- Fix update problem with symlinks
escape-200704130-update-remove.patch:
--- NEW FILE escape-200704130-update-remove.patch ---
diff -ur escape-src~/upper.cpp escape-src/upper.cpp
--- escape-src~/upper.cpp 2007-04-13 16:10:58.000000000 -0400
+++ escape-src/upper.cpp 2007-10-12 23:05:06.000000000 -0400
@@ -363,6 +363,7 @@
/* everything is rooted within dirname */
nlf = dirname + DIRSEP + nlf;
+ util::remove(nlf);
FILE * a = util::fopenp(nlf, "wb");
if (!a) {
say((string)RED "couldn't write " + nlf + POP);
Index: escape.spec
===================================================================
RCS file: /cvs/extras/rpms/escape/devel/escape.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- escape.spec 22 Aug 2007 03:17:40 -0000 1.7
+++ escape.spec 13 Oct 2007 03:12:03 -0000 1.8
@@ -1,6 +1,6 @@
Name: escape
Version: 200704130
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A fun puzzle game in the tradition of Adventures of Lolo or Chip's Challenge
Group: Amusements/Games
@@ -10,6 +10,8 @@
Source0: http://escape.spacebar.org/source/%{name}-src-%{version}.tar.bz2
Source1: %{name}.desktop
+Patch0: escape-200704130-update-remove.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel SDL_image-devel SDL_net-devel
@@ -31,6 +33,9 @@
%prep
%setup -q -n %{name}-src
+# fix update bug
+%patch -P 0 -p1 -b .update-remove
+
# fix permissions for debuginfo packages
find . \( -name '*.h' -o -name '*.cpp' \) -type f -print0 | xargs -0 chmod 0644
@@ -93,6 +98,9 @@
%changelog
+* Fri Oct 12 2007 Adam Goode <adam at spicenitz.org> - 200704130-6
+- Fix update problem with symlinks
+
* Tue Aug 21 2007 Adam Goode <adam at spicenitz.org> - 200704130-5
- Rebuild
More information about the fedora-extras-commits
mailing list