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
|
#PATCH-FIX-OPENSUSE: implements batch mode in which saxon is capable to proceed more files per one JVM launch
|
||||||
Patch5: saxon6-batch.patch
|
Patch5: saxon6-batch.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: fop >= 0.20.1
|
BuildRequires: fop >= 0.20.1
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
@ -50,7 +51,6 @@ Requires: %{_sbindir}/update-alternatives
|
|||||||
Requires: jaxp_parser_impl
|
Requires: jaxp_parser_impl
|
||||||
Provides: jaxp_transform_impl = %{name}-%{version}
|
Provides: jaxp_transform_impl = %{name}-%{version}
|
||||||
Provides: saxon
|
Provides: saxon
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -173,6 +173,7 @@ cp -p build/lib/saxon-jdom.jar %{buildroot}%{_javadir}/%{name}-jdom.jar
|
|||||||
# javadoc
|
# javadoc
|
||||||
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
||||||
cp -pr build/api/* %{buildroot}%{_javadocdir}/%{name}
|
cp -pr build/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
# demo
|
# demo
|
||||||
mkdir -p %{buildroot}%{_datadir}/%{name}
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
||||||
@ -203,34 +204,27 @@ if [ $1 -eq 0 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%{_javadir}/%{name}.jar
|
%{_javadir}/%{name}.jar
|
||||||
%{_javadir}/%{name}.jar
|
%{_javadir}/%{name}.jar
|
||||||
%{_javadir}/jaxp_transform_impl.jar
|
%{_javadir}/jaxp_transform_impl.jar
|
||||||
%ghost %{_sysconfdir}/alternatives/jaxp_transform_impl.jar
|
%ghost %{_sysconfdir}/alternatives/jaxp_transform_impl.jar
|
||||||
|
|
||||||
%files aelfred
|
%files aelfred
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%{_javadir}/%{name}-aelfred*
|
%{_javadir}/%{name}-aelfred*
|
||||||
|
|
||||||
%files fop
|
%files fop
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%{_javadir}/%{name}-fop*
|
%{_javadir}/%{name}-fop*
|
||||||
|
|
||||||
%files jdom
|
%files jdom
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%{_javadir}/%{name}-jdom*
|
%{_javadir}/%{name}-jdom*
|
||||||
|
|
||||||
%files manual
|
%files manual
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%doc doc/*.html
|
%doc doc/*.html
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%doc %{_javadocdir}/%{name}
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%files scripts
|
%files scripts
|
||||||
|
Loading…
Reference in New Issue
Block a user