Enable tests

- Fix BR
This commit is contained in:
Michal Srb 2013-06-06 09:22:33 +02:00
parent 8f50f3371d
commit a4916e4abf

View File

@ -30,7 +30,7 @@
Name: bsh
Version: 1.3.0
Release: 24%{?dist}
Release: 25%{?dist}
Epoch: 0
Summary: Lightweight Scripting for Java
License: (SPL or LGPLv2+) and Public Domain
@ -45,7 +45,7 @@ Source3: %{name}-desktop.desktop
Patch0: %{name}-build.patch
Patch1: %{name}-xsl-fixes.patch
BuildRequires: java >= 1:1.6.0
BuildRequires: ant, bsf, ant-trax, ImageMagick, desktop-file-utils
BuildRequires: ant, bsf, ImageMagick, desktop-file-utils
BuildRequires: servlet
Requires: java >= 1:1.6.0
Requires: bsf
@ -134,7 +134,7 @@ ln -sf $(build-classpath bsf)
ln -sf $(build-classpath servlet)
popd
ant="ant -Dant.build.javac.source=1.5"
$ant dist
$ant test dist
%ifnarch ppc64 s390x
(cd docs/faq && $ant)
(cd docs/manual && $ant)
@ -320,6 +320,10 @@ fi
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
%changelog
* Thu Jun 06 2013 Michal Srb <msrb@redhat.com> - 0:1.3.0-25
- Enable tests
- Fix BR
* Thu Feb 14 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 0:1.3.0-24
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
- clean up spec to follow current guidelines