Build against glassfish-servlet-api

This commit is contained in:
Michael Simacek 2017-02-07 14:24:08 +01:00
parent 0c1258ada5
commit 03599472aa

View File

@ -32,7 +32,7 @@
Name: xalan-j2
Version: 2.7.1
Release: 28%{?dist}
Release: 29%{?dist}
Epoch: 0
Summary: Java XSLT processor
# src/org/apache/xpath/domapi/XPathStylesheetDOM3Exception.java is W3C
@ -62,7 +62,7 @@ BuildRequires: bcel
BuildRequires: java_cup
BuildRequires: regexp
BuildRequires: sed
BuildRequires: tomcat-servlet-3.1-api
BuildRequires: glassfish-servlet-api
BuildRequires: xerces-j2 >= 0:2.7.1
BuildRequires: xml-commons-apis >= 0:1.3
BuildRequires: xml-stylebook
@ -102,7 +102,7 @@ Javadoc for %{name}.
%package demo
Summary: Demo for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: tomcat-servlet-3.1-api
Requires: glassfish-servlet-api
%description demo
Demonstrations and samples for %{name}.
@ -143,7 +143,7 @@ ln -sf $(build-classpath java_cup) java_cup.jar
ln -sf $(build-classpath ant) ant.jar
ln -sf $(build-classpath xml-stylebook) stylebook-1.0-b3_xalan-2.jar
popd
export CLASSPATH=$(build-classpath servlet)
export CLASSPATH=$(build-classpath glassfish-servlet-api)
ant \
-Djava.awt.headless=true \
@ -236,6 +236,9 @@ update-alternatives --install %{_javadir}/jaxp_transform_impl.jar \
%{_datadir}/%{name}
%changelog
* Tue Feb 07 2017 Michael Simacek <msimacek@redhat.com> - 0:2.7.1-29
- Build against glassfish-servlet-api
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.7.1-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild