Fix filename of serializer.jar in xalan-j2's MANIFEST.MF

https://bugzilla.redhat.com/show_bug.cgi?id=718738
This commit is contained in:
Andrew Overholt 2011-08-10 12:48:46 -04:00
parent 832fd388b7
commit 993267d1f4
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- src/manifest.xalan-interpretive 2011-08-10 12:38:23.892219017 -0400
+++ src/manifest.xalan-interpretive 2011-08-10 12:38:32.032219017 -0400
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Created-By: @java.version@ (@java.vendor@)
Main-Class: org.apache.xalan.xslt.Process
-Class-Path: xercesImpl.jar xml-apis.jar serializer.jar
+Class-Path: xercesImpl.jar xml-apis.jar xalan-j2-serializer.jar
Name: org/apache/xalan/
Comment: Main Xalan engine implementing TrAX/JAXP

View File

@ -32,7 +32,7 @@
Name: xalan-j2
Version: 2.7.1
Release: 5%{?dist}
Release: 6%{?dist}
Epoch: 0
Summary: Java XSLT processor
# samples/servlet/ApplyXSLTException.java is ASL 1.1
@ -41,6 +41,9 @@ License: ASL 1.1 and ASL 2.0 and W3C
Source0: http://www.apache.org/dist/xml/xalan-j/xalan-j_2_7_1-src.tar.gz
Source1: %{name}-serializer-MANIFEST.MF
Patch0: %{name}-noxsltcdeps.patch
# Fix the serializer JAR filename in xalan-j2's MANIFEST.MF
# https://bugzilla.redhat.com/show_bug.cgi?id=718738
Patch1: %{name}-serializerJARname.patch
URL: http://xalan.apache.org/
Group: Development/Libraries
@ -110,6 +113,7 @@ Demonstrations and samples for %{name}.
%prep
%setup -q -n xalan-j_%{cvs_version}
%patch0 -p0
%patch1 -p0
# Remove all binary libs, except ones needed to build docs and N/A elsewhere.
for j in $(find . -name "*.jar"); do
mv $j $j.no
@ -216,6 +220,10 @@ update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
%{_datadir}/%{name}
%changelog
* Wed Aug 10 2011 Andrew Overholt <overholt@redhat.com> 0:2.7.1-6
- Fix filename of serializer.jar in xalan-j2's MANIFEST.MF
- https://bugzilla.redhat.com/show_bug.cgi?id=718738
* Tue Jul 26 2011 Alexander Kurtakov <akurtako@redhat.com> 0:2.7.1-5
- Remove old commented parts.
- Fix rpmlint warnings.