summaryrefslogtreecommitdiffstats
path: root/redhat/applications/koffice/koffice-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-08-30 12:27:30 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-08-30 12:27:30 +0200
commit972e86c4ebf80d36fffc6c9d02a3d1596ca61fb2 (patch)
treeab6620583bc880bd61cceb0058ecc1f7e896b992 /redhat/applications/koffice/koffice-14.0.0.spec
parente5f2386a7884932cffd7c862b6ddedbd2e8a6810 (diff)
downloadtde-packaging-972e86c4ebf80d36fffc6c9d02a3d1596ca61fb2.tar.gz
tde-packaging-972e86c4ebf80d36fffc6c9d02a3d1596ca61fb2.zip
RPM packaging: massive update SPEC files
Diffstat (limited to 'redhat/applications/koffice/koffice-14.0.0.spec')
-rw-r--r--redhat/applications/koffice/koffice-14.0.0.spec8
1 files changed, 7 insertions, 1 deletions
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} \