Fix rpmlint
OBS-URL: https://build.opensuse.org/package/show/Java:packages/saxon6?expand=0&rev=23
This commit is contained in:
parent
5fd31f8408
commit
30c2afdfab
10
saxon6.spec
10
saxon6.spec
@ -40,6 +40,7 @@ Patch4: saxon-add-fixes-from-com-isl-saxon-aelfred.patch
|
||||
#PATCH-FIX-OPENSUSE: implements batch mode in which saxon is capable to proceed more files per one JVM launch
|
||||
Patch5: saxon6-batch.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: fop >= 0.20.1
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: javapackages-tools
|
||||
@ -50,7 +51,6 @@ Requires: %{_sbindir}/update-alternatives
|
||||
Requires: jaxp_parser_impl
|
||||
Provides: jaxp_transform_impl = %{name}-%{version}
|
||||
Provides: saxon
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -173,6 +173,7 @@ cp -p build/lib/saxon-jdom.jar %{buildroot}%{_javadir}/%{name}-jdom.jar
|
||||
# javadoc
|
||||
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
||||
cp -pr build/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
|
||||
|
||||
# demo
|
||||
mkdir -p %{buildroot}%{_datadir}/%{name}
|
||||
@ -203,34 +204,27 @@ if [ $1 -eq 0 ] ; then
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_javadir}/jaxp_transform_impl.jar
|
||||
%ghost %{_sysconfdir}/alternatives/jaxp_transform_impl.jar
|
||||
|
||||
%files aelfred
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-aelfred*
|
||||
|
||||
%files fop
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-fop*
|
||||
|
||||
%files jdom
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadir}/%{name}-jdom*
|
||||
|
||||
%files manual
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc doc/*.html
|
||||
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc %{_javadocdir}/%{name}
|
||||
|
||||
%files demo
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%files scripts
|
||||
|
Loading…
Reference in New Issue
Block a user