Don't ship Java extensions on Fedora until compiled from sources
This commit is contained in:
parent
463ed7ab94
commit
91ba9e47b6
@ -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 <ovasik@redhat.com> 1.78.1-6
|
||||
- Don't ship Java extensions on Fedora until compiled from
|
||||
sources
|
||||
|
||||
* Wed Jul 16 2014 Ondrej Vasik <ovasik@redhat.com> 1.78.1-5
|
||||
- fix the extensions inclusion
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user