Fix FTBFS.

This commit is contained in:
Alexander Kurtakov 2011-06-28 09:24:31 +03:00
parent 4dec96c9cd
commit 913620fabf

View File

@ -32,7 +32,7 @@
Name: xalan-j2
Version: 2.7.1
Release: 3%{?dist}
Release: 4%{?dist}
Epoch: 0
Summary: Java XSLT processor
# samples/servlet/ApplyXSLTException.java is ASL 1.1
@ -47,7 +47,6 @@ Patch2: %{name}-crosslink.patch
Patch3: %{name}-src-MANIFEST-MF.patch
URL: http://xalan.apache.org/
Group: Text Processing/Markup/XML
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
Provides: jaxp_transform_impl
@ -66,6 +65,7 @@ BuildRequires: servlet25
BuildRequires: xerces-j2 >= 0:2.7.1
BuildRequires: xml-commons-apis >= 0:1.3
BuildRequires: xml-stylebook
BuildRequires: zip
%description
Xalan is an XSLT processor for transforming XML documents into HTML,
@ -155,8 +155,6 @@ ant \
%install
rm -rf $RPM_BUILD_ROOT
# inject OSGi manifests
mkdir -p META-INF
cp -p %{SOURCE1} META-INF/MANIFEST.MF
@ -193,10 +191,6 @@ ln -s %{_sysconfdir}/alternatives \
$RPM_BUILD_ROOT%{_javadir}/jaxp_transform_impl.jar
%clean
rm -rf $RPM_BUILD_ROOT
%post
update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
jaxp_transform_impl %{_javadir}/%{name}.jar 30
@ -218,29 +212,27 @@ update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
#} >/dev/null 2>&1 || :
%files
%defattr(-,root,root,-)
%doc KEYS LICENSE.txt NOTICE.txt readme.html
%{_javadir}/%{name}.jar
%{_javadir}/%{name}-serializer.jar
%ghost %{_javadir}/jaxp_transform_impl.jar
%files xsltc
%defattr(-,root,root,-)
%{_javadir}/xsltc.jar
%files manual
%defattr(-,root,root,-)
%doc build/docs/*
%files javadoc
%defattr(-,root,root,-)
%doc %{_javadocdir}/%{name}
%files demo
%defattr(-,root,root,-)
%{_datadir}/%{name}
%changelog
* Tue Jun 28 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.7.1-4
- Fix FTBFS.
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.7.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild