From 91ba9e47b67419e8da97db23c3d0b7eae5fffc29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Va=C5=A1=C3=ADk?= Date: Fri, 5 Sep 2014 17:15:42 +0200 Subject: [PATCH] Don't ship Java extensions on Fedora until compiled from sources --- docbook5-style-xsl.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docbook5-style-xsl.spec b/docbook5-style-xsl.spec index 43a3e4e..261d2a6 100644 --- a/docbook5-style-xsl.spec +++ b/docbook5-style-xsl.spec @@ -1,6 +1,6 @@ Name: docbook5-style-xsl Version: 1.78.1 -Release: 5%{?dist} +Release: 6%{?dist} Group: Applications/Text Summary: Norman Walsh's XSL stylesheets for DocBook 5.X @@ -27,6 +27,11 @@ DocBook 5 document to other formats, such as HTML, manpages, FO, XHMTL and other formats. They are highly customizable. For more information see W3C page about XSL. +#Don't ship Java extensions in Fedora as they are not compiled from the source +#Shiping sources instead of binary jars was requested by +#https://lists.oasis-open.org/archives/docbook-apps/201408/msg00008.html +#Sources available in the docbook stylesheets svn repository, but not packaged. +%if 0%{?rhel} >= 7 %package extensions Group: Applications/Text Summary: Norman Walsh's XSL stylesheets extensions for DocBook 5.X @@ -37,6 +42,7 @@ Requires: docbook-xsl-ns = %{version} %description extensions This package contains Java extensions for XSL namespace aware stylesheets. +%endif %prep %setup -q -n docbook-xsl-ns-%{version} @@ -70,9 +76,11 @@ rm -rf $DESTDIR%{_datadir}/sgml/docbook/xsl-ns-stylesheets/install.sh %{_datadir}/sgml/docbook/xsl-ns-stylesheets %exclude %{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions +%if 0%{?rhel} >= 7 %files extensions %doc extensions/README.txt extensions/LICENSE.txt %{_datadir}/sgml/docbook/xsl-ns-stylesheets-%{version}/extensions +%endif %post CATALOG=%{_sysconfdir}/xml/catalog @@ -99,6 +107,10 @@ if [ "$1" = 0 ]; then fi %changelog +* Fri Sep 05 2014 Ondrej Vasik 1.78.1-6 +- Don't ship Java extensions on Fedora until compiled from + sources + * Wed Jul 16 2014 Ondrej Vasik 1.78.1-5 - fix the extensions inclusion