This commit is contained in:
parent
180a248142
commit
f67651b9c3
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 8 13:18:59 CEST 2008 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
- Make junit testing optional and disable it by default to break a build cycle
|
||||||
|
ant-antlr - bsf - jython - mysql-connector-java - ant-contrib ant-contrib
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 10 08:50:56 CEST 2008 - mvyskocil@suse.cz
|
Thu Jul 10 08:50:56 CEST 2008 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
@ -2,22 +2,30 @@
|
|||||||
# spec file for package ant-contrib (Version 1.0b2)
|
# spec file for package ant-contrib (Version 1.0b2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
# icecream 0
|
# icecream 0
|
||||||
|
|
||||||
|
%define with_junit 0
|
||||||
%define section free
|
%define section free
|
||||||
%define ant_version 1.7.0
|
%define ant_version 1.7.0
|
||||||
Summary: Collection of tasks for Ant
|
Summary: Collection of tasks for Ant
|
||||||
|
|
||||||
Name: ant-contrib
|
Name: ant-contrib
|
||||||
Version: 1.0b2
|
Version: 1.0b2
|
||||||
Release: 2
|
Release: 17
|
||||||
License: The Apache Software License
|
License: The Apache Software License
|
||||||
Url: http://ant-contrib.sourceforge.net/
|
Url: http://ant-contrib.sourceforge.net/
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
@ -30,11 +38,11 @@ Patch2: ant-contrib-BuildFileTest_java.patch
|
|||||||
BuildRequires: jpackage-utils >= 1.6
|
BuildRequires: jpackage-utils >= 1.6
|
||||||
BuildRequires: ant = %{ant_version}
|
BuildRequires: ant = %{ant_version}
|
||||||
BuildRequires: bcel >= 5.1
|
BuildRequires: bcel >= 5.1
|
||||||
%if %defined suse_version
|
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
|
%if %{with_junit}
|
||||||
BuildRequires: ant-junit = %{ant_version}
|
BuildRequires: ant-junit = %{ant_version}
|
||||||
%endif
|
|
||||||
Requires: junit >= 3.8.1
|
Requires: junit >= 3.8.1
|
||||||
|
%endif
|
||||||
Requires: ant = %{ant_version}
|
Requires: ant = %{ant_version}
|
||||||
Requires: bcel >= 5.1
|
Requires: bcel >= 5.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -94,7 +102,11 @@ cd ant-contrib
|
|||||||
%if %defined suse_version
|
%if %defined suse_version
|
||||||
export CLASSPATH=$(build-classpath bcel junit)
|
export CLASSPATH=$(build-classpath bcel junit)
|
||||||
%endif
|
%endif
|
||||||
ant all test
|
ant \
|
||||||
|
all \
|
||||||
|
%if %{with_junit}
|
||||||
|
test
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jars
|
# jars
|
||||||
@ -139,6 +151,9 @@ fi
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 08 2008 mvyskocil@suse.cz
|
||||||
|
- Make junit testing optional and disable it by default to break a build cycle
|
||||||
|
ant-antlr - bsf - jython - mysql-connector-java - ant-contrib ant-contrib
|
||||||
* Thu Jul 10 2008 mvyskocil@suse.cz
|
* Thu Jul 10 2008 mvyskocil@suse.cz
|
||||||
- Removed summary tags from description of subpackages.
|
- Removed summary tags from description of subpackages.
|
||||||
- Remove the ant-1.7.0 archive to reduce a size of source package and
|
- Remove the ant-1.7.0 archive to reduce a size of source package and
|
||||||
|
Loading…
Reference in New Issue
Block a user