Add NOTICE.txt file to subpackages

- Remove bundled sources of other packages used to build javadocs
This commit is contained in:
Stanislav Ochotnicky 2012-08-23 18:01:21 +02:00
parent 4d84de6e38
commit aefdbdfbb0

View File

@ -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 '/<!-- Expand jaxp sources/,/<delete file="${xml-commons-srcs.tar}"/{d}' build.xml
# FIXME who knows where the sources are? xalan-j1 ?
mv tools/xalan2jdoc.jar.no tools/xalan2jdoc.jar
mv tools/xalan2jtaglet.jar.no tools/xalan2jtaglet.jar
@ -225,22 +233,26 @@ update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
%{_mavenpomdir}/JPP-%{name}-serializer.pom
%files xsltc
%doc LICENSE.txt
%doc LICENSE.txt NOTICE.txt
%{_javadir}/xsltc.jar
%{_mavenpomdir}/JPP-xsltc.pom
%files manual
%doc LICENSE.txt
%doc LICENSE.txt NOTICE.txt
%doc build/docs/*
%files javadoc
%doc LICENSE.txt
%doc LICENSE.txt NOTICE.txt
%doc %{_javadocdir}/%{name}
%files demo
%{_datadir}/%{name}
%changelog
* Thu Aug 23 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:2.7.1-15
- Add NOTICE.txt file to subpackages
- Remove bundled sources of other packages used to build javadocs
* Thu Aug 16 2012 Andy Grimm <agrimm@gmail.com> - 0:2.7.1-14
- Remove osgi(system.bundle) requirement