From aefdbdfbb048079181c57984d1c1ba2c91646904 Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Thu, 23 Aug 2012 18:01:21 +0200 Subject: [PATCH] Add NOTICE.txt file to subpackages - Remove bundled sources of other packages used to build javadocs --- xalan-j2.spec | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/xalan-j2.spec b/xalan-j2.spec index 92c3cee..6b8f81e 100644 --- a/xalan-j2.spec +++ b/xalan-j2.spec @@ -32,7 +32,7 @@ Name: xalan-j2 Version: 2.7.1 -Release: 14%{?dist} +Release: 15%{?dist} Epoch: 0 Summary: Java XSLT processor # samples/servlet/ApplyXSLTException.java is ASL 1.1 @@ -123,6 +123,14 @@ Demonstrations and samples for %{name}. for j in $(find . -name "*.jar"); do mv $j $j.no done + +# this tar.gz contains bundled software, some of which has unclear +# licensing terms (W3C Software/Document license) . We could probably +# replicate this with our jars but it's too much work so just generate +# non-interlinked documentation +rm src/*tar.gz +sed -i '/