besser82 pushed to shogun (el5). "fix: Build fails on fc23+ because of hardening (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Sat May 23 15:13:20 UTC 2015


From 3aa772f28ce2dc98accf4a39e0a85bfc37e1a810 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <bjoern.esser at gmail.com>
Date: Sat, 23 May 2015 16:59:49 +0200
Subject: fix: Build fails on fc23+ because of hardening fix: BR: mono >= 4.0.0


diff --git a/shogun.spec b/shogun.spec
index 8e80af0..b00a8b6 100644
--- a/shogun.spec
+++ b/shogun.spec
@@ -1,3 +1,8 @@
+# Build fails on fc23+ because of hardening.
+%if 0%{?fedora} >= 23
+%undefine _hardened_build
+%endif # 0%%{?fedora} >= 23
+
 # Conditional for release and snapshot builds. Uncomment for release-builds.
 %global rel_build				1
 
@@ -162,7 +167,7 @@ pre-processing.
 
 Name:			shogun
 Version:		%{branch}.0
-Release:		3%{?gitrel}%{?dist}
+Release:		4%{?gitrel}%{?dist}
 Summary:		Large Scale Machine Learning Toolbox
 
 # ===== License-breakdown =====
@@ -658,7 +663,12 @@ This package contains the LUA-plugin for %{name}.
 %package -n mono-%{name}
 Summary:		Mono(C#)-plugin for %{name}
 
+# On fc23+ we build against Mono >= 4.0.0.
+%if 0%{?fedora} >= 23
+BuildRequires:		mono-devel		>= 4.0.0
+%else #  0%%{?fedora} >= 23
 BuildRequires:		mono-devel
+%endif # 0%%{?fedora} >= 23
 
 Requires:		%{_sysconfdir}/profile.d
 Requires:		%{name}%{?_isa}		== %{version}-%{release}
@@ -1412,6 +1422,10 @@ popd
 ###############################################################################
 
 %changelog
+* Sat May 23 2015 Björn Esser <bjoern.esser at gmail.com> - 4.0.0-4
+- fix: Build fails on fc23+ because of hardening
+- fix: BR: mono >= 4.0.0
+
 * Tue May 19 2015 Peter Robinson <pbrobinson at fedoraproject.org> 4.0.0-3
 - Rebuild (mono4)
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/shogun.git/commit/?h=el5&id=3aa772f28ce2dc98accf4a39e0a85bfc37e1a810


More information about the scm-commits mailing list