commit 719d306538c923297e696cc0e9168702bb2eb4d8
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Apr 17 09:01:40 2017 +0100
Fix ppc64le build
assaultcube.spec | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/assaultcube.spec b/assaultcube.spec
index 3d7ed6b..eb995a2 100644
--- a/assaultcube.spec
+++ b/assaultcube.spec
@@ -4,7 +4,7 @@
Name: assaultcube
Version: 1.2.0.3
-Release: 0.3.%{date}git%{shortcommit}%{?dist}
+Release: 0.4.%{date}git%{shortcommit}%{?dist}
# Licensing is complex
# Details at
http://packages.debian.org/changelogs/pool/contrib/a/assaultcube/assaultc...
@@ -52,6 +52,12 @@ iconv --from=ISO-8859-1 --to=UTF-8 docs/package_copyrights.txt >
docs/package_co
touch -r docs/package_copyrights.txt docs/package_copyrights.txt.new
mv docs/package_copyrights.txt.new docs/package_copyrights.txt
+# Update enet to fix ppc64le build
+rm -f ./source/enet/config.guess
+rm -f ./source/enet/config.sub
+cp -fv /usr/lib/rpm/redhat/config.guess ./source/enet/config.guess
+cp -fv /usr/lib/rpm/redhat/config.sub ./source/enet/config.sub
+
%build
#
https://github.com/assaultcube/AC/issues/148
%if 0%{?fedora} > 23
@@ -167,6 +173,9 @@ fi
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%changelog
+* Mon Apr 17 2017 Leigh Scott <leigh123linux(a)googlemail.com> -
1.2.0.3-0.4.20160227git7529509
+- Fix ppc64le build
+
* Sat Mar 25 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> -
1.2.0.3-0.3.20160227git7529509
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild