Add NOTICE.txt file to subpackages
- Remove bundled sources of other packages used to build javadocs
This commit is contained in:
parent
4d84de6e38
commit
aefdbdfbb0
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
Name: xalan-j2
|
Name: xalan-j2
|
||||||
Version: 2.7.1
|
Version: 2.7.1
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Java XSLT processor
|
Summary: Java XSLT processor
|
||||||
# samples/servlet/ApplyXSLTException.java is ASL 1.1
|
# samples/servlet/ApplyXSLTException.java is ASL 1.1
|
||||||
@ -123,6 +123,14 @@ Demonstrations and samples for %{name}.
|
|||||||
for j in $(find . -name "*.jar"); do
|
for j in $(find . -name "*.jar"); do
|
||||||
mv $j $j.no
|
mv $j $j.no
|
||||||
done
|
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 ?
|
# FIXME who knows where the sources are? xalan-j1 ?
|
||||||
mv tools/xalan2jdoc.jar.no tools/xalan2jdoc.jar
|
mv tools/xalan2jdoc.jar.no tools/xalan2jdoc.jar
|
||||||
mv tools/xalan2jtaglet.jar.no tools/xalan2jtaglet.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
|
%{_mavenpomdir}/JPP-%{name}-serializer.pom
|
||||||
|
|
||||||
%files xsltc
|
%files xsltc
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt NOTICE.txt
|
||||||
%{_javadir}/xsltc.jar
|
%{_javadir}/xsltc.jar
|
||||||
%{_mavenpomdir}/JPP-xsltc.pom
|
%{_mavenpomdir}/JPP-xsltc.pom
|
||||||
|
|
||||||
%files manual
|
%files manual
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt NOTICE.txt
|
||||||
%doc build/docs/*
|
%doc build/docs/*
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt NOTICE.txt
|
||||||
%doc %{_javadocdir}/%{name}
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Aug 16 2012 Andy Grimm <agrimm@gmail.com> - 0:2.7.1-14
|
||||||
- Remove osgi(system.bundle) requirement
|
- Remove osgi(system.bundle) requirement
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user