From 972e86c4ebf80d36fffc6c9d02a3d1596ca61fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 30 Aug 2015 12:27:30 +0200 Subject: RPM packaging: massive update SPEC files --- redhat/applications/koffice/koffice-14.0.0.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'redhat/applications/koffice/koffice-14.0.0.spec') diff --git a/redhat/applications/koffice/koffice-14.0.0.spec b/redhat/applications/koffice/koffice-14.0.0.spec index 16e69a105..083b85f4e 100644 --- a/redhat/applications/koffice/koffice-14.0.0.spec +++ b/redhat/applications/koffice/koffice-14.0.0.spec @@ -52,7 +52,7 @@ Name: trinity-%{tde_pkg} Epoch: %{tde_epoch} Version: 1.6.3 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} Summary: An integrated office suite Group: Applications/Productivity URL: http://www.trinitydesktop.org/ @@ -1129,6 +1129,12 @@ export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" -e "/TDEApplication/ s|\");|\", true, true, true);|" %endif +# FTBFS on Fedora 22 +%if 0%{?fedora} == 22 +%__sed -i "lib/kross/ruby/rubyinterpreter.cpp" \ + -e "s|rb_set_safe_level|//rb_set_safe_level|" +%endif + %configure \ --prefix=%{tde_prefix} \ --exec-prefix=%{tde_prefix} \ -- cgit v1.2.1