[0ad: 1/2] ARM is now supported, Remove old Fedora release conditionals

Peter Robinson pbrobinson at fedoraproject.org
Fri Jun 6 23:06:16 UTC 2014


commit 6fb0e10c8d90cd2f8cf6830577f044c92848d6f3
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sat Jun 7 00:04:22 2014 +0100

    ARM is now supported, Remove old Fedora release conditionals

 0ad.spec |   22 ++++++----------------
 1 files changed, 6 insertions(+), 16 deletions(-)
---
diff --git a/0ad.spec b/0ad.spec
index 41a8bc6..71be563 100644
--- a/0ad.spec
+++ b/0ad.spec
@@ -17,15 +17,9 @@
 %global		with_system_nvtt	1
 %global		without_nvtt		0
 
-%if 0%{?fedora} <= 16
-%global		with_system_enet	0
-%else
-%global		with_system_enet	1
-%endif
-
 Name:		0ad
 Version:	0.0.16
-Release:	2%{?dist}
+Release:	3%{?dist}
 # BSD License:
 #	build/premake/*
 #	libraries/valgrind/*		(not built/used)
@@ -75,9 +69,7 @@ BuildRequires:	boost-devel
 BuildRequires:	cmake
 BuildRequires:	desktop-file-utils
 BuildRequires:	DevIL-devel
-%if %{with_system_enet}
 BuildRequires:	enet-devel
-%endif
 BuildRequires:	gamin-devel
 BuildRequires:	gloox-devel
 BuildRequires:	libcurl-devel
@@ -102,7 +94,7 @@ BuildRequires:	SDL-devel
 BuildRequires:	subversion
 BuildRequires:	wxGTK-devel
 
-ExclusiveArch:	%{ix86} x86_64
+ExclusiveArch:	%{ix86} x86_64 %{arm}
 
 # http://trac.wildfiregames.com/ticket/1421
 Patch0:		%{name}-rpath.patch
@@ -153,9 +145,7 @@ build/workspaces/update-workspaces.sh	\
     --bindir %{_bindir}			\
     --datadir %{_datadir}/%{name}	\
     --libdir %{_libdir}/%{name}		\
-%if %{with_system_enet}
     --with-system-enet			\
-%endif
     --with-system-mozjs24		\
     --with-system-miniupnpc		\
 %if %{with_system_nvtt}
@@ -185,10 +175,6 @@ for name in AtlasUI%{dbg} Collada%{dbg}; do
     install -p -m 755 binaries/system/lib${name}.so %{buildroot}%{_libdir}/%{name}/lib${name}.so
 done
 
-%if !%{with_system_enet}
-    install -p -m 755 binaries/system/libenet.so.1 %{buildroot}%{_libdir}/%{name}/libenet.so.1
-%endif
-
 %if !%{without_nvtt} && !%{with_system_nvtt}
 for name in nvcore nvimage nvmath nvtt; do
     install -p -m 755 binaries/system/lib${name}.so %{buildroot}%{_libdir}/%{name}/lib${name}.so
@@ -239,6 +225,10 @@ export STRIP=/bin/true
 %{_mandir}/man6/*.6*
 
 %changelog
+* Fri Jun  6 2014 Peter Robinson <pbrobinson at fedoraproject.org> 0.0.16-3
+- ARM is now supported
+- Remove old Fedora release conditionals
+
 * Fri May 23 2014 Petr Machata <pmachata at redhat.com> - 0.0.16-2
 - Rebuild for boost 1.55.0
 


More information about the scm-commits mailing list