- make demo dependency on testng conditional

This commit is contained in:
dwalluck 2008-10-28 14:43:44 +00:00
parent 643a32b000
commit 7ee466ad6d

View File

@ -53,7 +53,7 @@
Name: hamcrest
Version: 1.1
Release: 5.1%{?dist}
Release: 6.1%{?dist}
Epoch: 0
Summary: Hamcrest matcher object framework
License: BSD
@ -126,7 +126,9 @@ Summary: Demos for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: junit
Requires: junit4
%if %with tests
Requires: testng
%endif
%description demo
Demonstrations and samples for %{name}.
@ -296,11 +298,14 @@ fi
%{_datadir}/%{name}
%changelog
* Fri Oct 24 2008 David Walluck <dwalluck@redhat.com> 0:1.1-5.1
* Tue Oct 28 2008 David Walluck <dwalluck@redhat.com> 0:1.1-6.1
- Fedora-specific: enable GCJ support
- Fedora-specific: build with java 1.6.0
- Fedora-specific: disable integration and tests
* Tue Oct 28 2008 David Walluck <dwalluck@redhat.com> 0:1.1-6
- make demo dependency on testng conditional
* Fri Oct 24 2008 David Walluck <dwalluck@redhat.com> 0:1.1-5
- fix GCJ file list
- simplify build by always setting OPT_JAR_LIST