Author: musuruan
Update of /cvs/nonfree/rpms/roadfighter/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv25964
Modified Files:
roadfighter.spec
Added Files:
roadfighter-1.0.1269-fix-string-format-bug.patch
Log Message:
* Tue Sep 30 2014 Andrea Musuruane <musuruan(a)gmail.com> - 1.0.1269-8
- Fix FTBFS
- Dropped obsolete Group, Buildroot, %clean and %defattr
- Dropped cleaning at the beginning of %install
- Remove extension from Icon in Desktop file
roadfighter-1.0.1269-fix-string-format-bug.patch:
debug.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE roadfighter-1.0.1269-fix-string-format-bug.patch ---
diff -durN roadfighter-1.0.1269.orig/src/debug.cpp roadfighter-1.0.1269/src/debug.cpp
--- roadfighter-1.0.1269.orig/src/debug.cpp 2008-03-18 21:00:21.000000000 +0100
+++ roadfighter-1.0.1269/src/debug.cpp 2014-09-29 17:45:57.588997083 +0200
@@ -28,7 +28,7 @@
if (fp == 0)
fp = f1open("roadfighter.dbg", "w", USERDATA);
- fprintf(fp, text);
+ fprintf(fp, "%s", text);
fflush(fp);
} /* glprintf */
Index: roadfighter.spec
===================================================================
RCS file: /cvs/nonfree/rpms/roadfighter/devel/roadfighter.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- roadfighter.spec 31 Aug 2014 20:47:16 -0000 1.6
+++ roadfighter.spec 30 Sep 2014 19:29:16 -0000 1.7
@@ -1,16 +1,15 @@
Name: roadfighter
Version: 1.0.1269
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Konami's Road Fighter remake
-Group: Amusements/Games
#
http://www.braingames.getput.com/forum/forum_posts.asp?TID=678&PN=1
License: Distributable
URL:
http://roadfighter.jorito.net/
Source0:
http://braingames.jorito.net/roadfighter/downloads/%{name}.src_%{version}...
Source1: roadfighter.sh
-Patch0: %{name}-1.0.1269-Makefile.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0: %{name}-1.0.1269-Makefile.patch
+Patch1: %{name}-1.0.1269-fix-string-format-bug.patch
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
@@ -18,7 +17,7 @@
BuildRequires: SDL_ttf-devel
BuildRequires: ImageMagick
BuildRequires: desktop-file-utils
-Requires: hicolor-icon-theme
+Requires: hicolor-icon-theme
%description
@@ -30,6 +29,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
# Fix char encondig
iconv --from=ISO-8859-1 --to=UTF-8 readme.txt > readme.txt.utf8
@@ -43,8 +43,6 @@
%install
-rm -rf %{buildroot}
-
# Install wrapper script
install -d %{buildroot}%{_bindir}
install -m 755 -p %{SOURCE1} %{buildroot}%{_bindir}/%{name}
@@ -68,13 +66,10 @@
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install \
--dir %{buildroot}%{_datadir}/applications \
+ --set-icon=roadfighter \
build/linux/%{name}.desktop
-%clean
-rm -rf %{buildroot}
-
-
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -91,7 +86,6 @@
%files
-%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_libexecdir}/%{name}
@@ -101,6 +95,12 @@
%changelog
+* Tue Sep 30 2014 Andrea Musuruane <musuruan(a)gmail.com> - 1.0.1269-8
+- Fix FTBFS
+- Dropped obsolete Group, Buildroot, %%clean and %%defattr
+- Dropped cleaning at the beginning of %%install
+- Remove extension from Icon in Desktop file
+
* Sun Aug 31 2014 Sérgio Basto <sergio(a)serjux.com> - 1.0.1269-7
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild