rpms/powermanga/F-13 powermanga.spec,1.25,1.26

Matthias Saou thias at fedoraproject.org
Mon Jun 7 14:46:56 UTC 2010


Author: thias

Update of /cvs/extras/rpms/powermanga/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3821/F-13

Modified Files:
	powermanga.spec 
Log Message:
Add dist tag to allow backport of the #577509 fix to F-13 (#600940).



Index: powermanga.spec
===================================================================
RCS file: /cvs/extras/rpms/powermanga/F-13/powermanga.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -p -r1.25 -r1.26
--- powermanga.spec	8 Dec 2009 16:58:55 -0000	1.25
+++ powermanga.spec	7 Jun 2010 14:46:56 -0000	1.26
@@ -1,7 +1,7 @@
 Summary: Arcade 2D shoot-them-up game
 Name: powermanga
 Version: 0.90
-Release: 7
+Release: 8%{?dist}
 License: GPLv3+
 Group: Amusements/Games
 URL: http://linux.tlk.fr/games/Powermanga/
@@ -10,6 +10,10 @@ Source1: powermanga.png
 Source2: powermanga.desktop
 Patch0: powermanga-0.90-install.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+# The resulting binary requires libmikmod.so.3 according to ldd, but the
+# automatic dependency isn't generated (#577509)
+Requires: libmikmod
+BuildRequires: libmikmod-devel
 BuildRequires: gawk
 BuildRequires: libXt-devel, libXxf86dga-devel, libXxf86vm-devel
 BuildRequires: SDL-devel
@@ -31,7 +35,7 @@ Powermanga is a vertical scrolling arcad
 %build
 %configure
 # The original configure script sets that mandatory -std=c99
-%{__make} %{?_smp_mflags} CFLAGS="%{optflags} -std=c99"
+%{__make} %{?_smp_mflags} CFLAGS="%{optflags} -std=c99 -lm"
 
 
 %install
@@ -95,6 +99,13 @@ fi
 
 
 %changelog
+* Mon Jun  7 2010 Matthias Saou <http://freshrpms.net/> 0.90-8
+- Add dist tag to allow backport of the #577509 fix to F-13 (#600940).
+
+* Wed Apr 28 2010 Matthias Saou <http://freshrpms.net/> 0.90-8
+- Add explicit libmikmod requirement (#577509).
+- Add -lm to our CFLAGS, required for sqrt in powermanga-display.o.
+
 * Tue Dec  8 2009 Matthias Saou <http://freshrpms.net/> 0.90-7
 - Remove coreutils scriplet requirements : Current guidelines don't require it,
   as we have "|| :" anyway.



More information about the scm-commits mailing list