Add hsqldb conditional
- Switch to glassfish-servlet-api
This commit is contained in:
parent
f86682d5b4
commit
c457ce4295
@ -1,6 +1,8 @@
|
|||||||
|
%bcond_without hsqldb
|
||||||
|
|
||||||
Name: velocity
|
Name: velocity
|
||||||
Version: 1.7
|
Version: 1.7
|
||||||
Release: 19%{?dist}
|
Release: 20%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Java-based template engine
|
Summary: Java-based template engine
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -24,11 +26,13 @@ BuildRequires: ant
|
|||||||
BuildRequires: antlr
|
BuildRequires: antlr
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
BuildRequires: ant-junit
|
BuildRequires: ant-junit
|
||||||
|
%if %{with hsqldb}
|
||||||
BuildRequires: hsqldb-lib
|
BuildRequires: hsqldb-lib
|
||||||
|
%endif
|
||||||
BuildRequires: apache-commons-collections
|
BuildRequires: apache-commons-collections
|
||||||
BuildRequires: apache-commons-logging
|
BuildRequires: apache-commons-logging
|
||||||
BuildRequires: apache-commons-lang
|
BuildRequires: apache-commons-lang
|
||||||
BuildRequires: servlet3
|
BuildRequires: glassfish-servlet-api
|
||||||
BuildRequires: jakarta-oro
|
BuildRequires: jakarta-oro
|
||||||
BuildRequires: jaxen
|
BuildRequires: jaxen
|
||||||
BuildRequires: jdom
|
BuildRequires: jdom
|
||||||
@ -125,6 +129,10 @@ cp %{SOURCE1} ./pom.xml
|
|||||||
# Remove werken-xpath Import/Export refences in OSGi manifest file
|
# Remove werken-xpath Import/Export refences in OSGi manifest file
|
||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
|
||||||
|
%if %{without hsqldb}
|
||||||
|
rm -r src/test/org/apache/velocity/test/sql
|
||||||
|
%endif
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -134,7 +142,7 @@ antlr \
|
|||||||
apache-commons-collections \
|
apache-commons-collections \
|
||||||
commons-lang \
|
commons-lang \
|
||||||
commons-logging \
|
commons-logging \
|
||||||
tomcat-servlet-api \
|
glassfish-servlet-api \
|
||||||
junit \
|
junit \
|
||||||
jakarta-oro \
|
jakarta-oro \
|
||||||
log4j:log4j:1.2.17 \
|
log4j:log4j:1.2.17 \
|
||||||
@ -184,6 +192,10 @@ cp -pr examples test %{buildroot}%{_datadir}/%{name}
|
|||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 07 2017 Michael Simacek <msimacek@redhat.com> - 0:1.7-20
|
||||||
|
- Add hsqldb conditional
|
||||||
|
- Switch to glassfish-servlet-api
|
||||||
|
|
||||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.7-19
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.7-19
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user