dtardon pushed to libreoffice (f22). "only enable hardened build on fedora (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 4 11:08:49 UTC 2015


>From 2871495f5daa53f6d25099ec3a52c165599d27d7 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon at redhat.com>
Date: Thu, 23 Apr 2015 16:25:16 +0200
Subject: only enable hardened build on fedora

(cherry picked from commit e12d19b3d56c6d6fd060c76e4820b175d91d5a02)

diff --git a/libreoffice.spec b/libreoffice.spec
index 46a68a2..550e8b7 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -23,8 +23,11 @@
 # %%define source_url http://download.documentfoundation.org/libreoffice/src/%{libo_version}
 # URL for external projects' tarballs
 %define external_url http://dev-www.libreoffice.org/src/
+# limit to fedora, as it breaks building of some bundled projects
+%if 0%{?fedora}
 # default for f23 onwards
 %global _hardened_build 1
+%endif
 
 # get english only and no-langpacks for a faster smoketest build
 # fedpkg compile/install/local/mockbuild does not handle --without ATM,
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libreoffice.git/commit/?h=f22&id=2871495f5daa53f6d25099ec3a52c165599d27d7


More information about the scm-commits mailing list