SHA256
1
0
forked from pool/ant
OBS User unknown 2009-06-19 22:49:50 +00:00 committed by Git OBS Bridge
parent 54ff3baeb7
commit 4bdd320a47
4 changed files with 174 additions and 80 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 17 10:23:50 CEST 2009 - mvyskocil@suse.cz
- do not use Release number in Requires of subpackages
-------------------------------------------------------------------
Sun May 3 11:37:46 CEST 2009 - ro@suse.de

View File

@ -29,13 +29,13 @@ Name: ant-antlr
# This line is not a comment, please do not remove it!
#%(sh %{_sourcedir}/ant-antlr-prepare.sh %{_sourcedir} %{name})
Version: 1.7.1
Release: 3
Release: 4
%if %bootstrap
Summary: Optional antlr Tasks for Ant
%else
Summary: Optional antlr Tasks for Ant
%endif
License: The Apache Software License
License: Apache Software License ..
Url: http://jakarta.apache.org/
Group: Development/Tools/Building
Source0: %{cvs_name}-%{version}-src.tar.bz2
@ -97,7 +97,7 @@ Requires: jpackage-utils >= 1.7.5
Requires: java-devel >= 1.5.0
%else
# ant-antlr requires
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: antlr
Provides: ant-antlr = %{version}-%{release}
%endif
@ -113,6 +113,11 @@ antlr tasks for Apache Ant.
Apache Ant is a Java-based build tool. This package contains optional
antlr tasks for Apache Ant.
%else
%description
@ -121,14 +126,19 @@ antlr tasks for Apache Ant.
Apache Ant is a Java-based build tool. This package contains optional
antlr tasks for Apache Ant.
%endif
%if %bootstrap
%package -n ant-jmf
License: The Apache Software License
License: Apache Software License ..
Summary: Optional jmf tasks for ant
Group: Development/Tools/Building
Requires: ant = %{version}-%{release}
Requires: ant = %{version}
Provides: ant-jmf = %{version}-%{release}
%description -n ant-jmf
@ -139,10 +149,10 @@ This package contains optional jmf tasks for Apache Ant.
%package -n ant-nodeps
License: The Apache Software License
License: Apache Software License ..
Summary: Optional tasks for ant
Group: Development/Tools/Building
Requires: ant = %{version}-%{release}
Requires: ant = %{version}
Provides: ant-nodeps = %{version}-%{release}
%description -n ant-nodeps
@ -153,10 +163,10 @@ This package contains optional tasks for Apache Ant.
%package -n ant-swing
License: The Apache Software License
License: Apache Software License ..
Summary: Optional swing tasks for ant
Group: Development/Tools/Building
Requires: ant = %{version}-%{release}
Requires: ant = %{version}
Provides: ant-swing = %{version}-%{release}
%description -n ant-swing
@ -167,10 +177,10 @@ This package contains optional swing tasks for Apache Ant.
%package -n ant-trax
License: The Apache Software License
License: Apache Software License ..
Summary: Optional trax tasks for ant
Group: Development/Tools/Building
Requires: ant = %{version}-%{release}
Requires: ant = %{version}
Requires: jaxp_transform_impl
Provides: ant-trax = %{version}-%{release}
# The ant-xalan jar has been merged into the ant-trax one
@ -185,11 +195,11 @@ This package contains optional trax tasks for Apache Ant.
%package -n ant-scripts
License: The Apache Software License
License: Apache Software License ..
Summary: Additional scripts for ant
Group: Development/Tools/Building
AutoReqProv: no
Requires: ant = %{version}-%{release}
Requires: ant = %{version}
Requires: %{_bindir}/perl
Requires: %{_bindir}/python
@ -205,10 +215,10 @@ Ant.
%if ! %bootstrap
%package -n ant-apache-bsf
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache bsf tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: bsf
BuildRequires: bsf
Provides: ant-apache-bsf = %{version}-%{release}
@ -221,10 +231,10 @@ This package contains optional apache bsf tasks for Apache Ant.
%package -n ant-apache-resolver
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache resolver tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: xml-commons-resolver
BuildRequires: xml-commons-resolver
Provides: ant-apache-resolver = %{version}-%{release}
@ -237,10 +247,10 @@ This package contains optional apache resolver tasks for Apache Ant.
%package -n ant-commons-logging
License: The Apache Software License
License: Apache Software License ..
Summary: Optional commons logging tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: jakarta-commons-logging
BuildRequires: jakarta-commons-logging
Provides: ant-commons-logging = %{version}-%{release}
@ -253,10 +263,10 @@ This package contains optional commons logging tasks for Apache Ant.
%package -n ant-commons-net
License: The Apache Software License
License: Apache Software License ..
Summary: Optional commons net tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: jakarta-commons-net
BuildRequires: jakarta-commons-net
Provides: ant-commons-net = %{version}-%{release}
@ -274,7 +284,7 @@ This package contains optional commons net tasks for Apache Ant.
Summary: Optional jai tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: jai
BuildRequires: jai
Provides: ant-jai = %{version}-%{release}
@ -284,10 +294,10 @@ Optional jai tasks for ant.
%endif
%package -n ant-apache-bcel
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache bcel tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: bcel
BuildRequires: bcel
Provides: ant-apache-bcel = %{version}-%{release}
@ -302,10 +312,10 @@ This package contains optional apache bcel tasks for Apache Ant.
%package -n ant-apache-log4j
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache log4j tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: log4j
BuildRequires: log4j
Provides: ant-apache-log4j = %{version}-%{release}
@ -320,10 +330,10 @@ This package contains optional apache log4j tasks for Apache Ant.
%package -n ant-apache-oro
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache oro tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: oro
BuildRequires: oro
Provides: ant-apache-oro = %{version}-%{release}
@ -338,10 +348,10 @@ This package contains optional apache oro tasks for Apache Ant.
%package -n ant-apache-regexp
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache regexp tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: regexp
BuildRequires: regexp
Provides: ant-apache-regexp = %{version}-%{release}
@ -356,10 +366,10 @@ This package contains optional apache regexp tasks for Apache Ant.
%package -n ant-javamail
License: Other uncritical OpenSource License; Common Development and Distribution License
License: Other uncritical OpenSource License ; Common Development and Distribution License
Summary: Optional javamail tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: javamail >= 1.2-5jpp
Requires: jaf >= 1.0.1-5jpp
BuildRequires: javamail >= 1.2-5jpp
@ -374,10 +384,10 @@ This package contains optional javamail tasks for Apache Ant.
%package -n ant-jdepend
License: The Apache Software License
License: Apache Software License ..
Summary: Optional jdepend tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: jdepend
BuildRequires: jdepend
Provides: ant-jdepend = %{version}-%{release}
@ -390,10 +400,10 @@ This package contains optional jdepend tasks for Apache Ant.
%package -n ant-jsch
License: The Apache Software License
License: Apache Software License ..
Summary: Optional jsch tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: jsch
BuildRequires: jsch
Provides: ant-jsch = %{version}-%{release}
@ -406,10 +416,10 @@ This package contains optional jsch tasks for Apache Ant.
%package -n ant-junit
License: The Apache Software License
License: Apache Software License ..
Summary: Optional junit tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: junit
Provides: ant-junit = %{version}-%{release}
@ -421,7 +431,7 @@ This package contains optional JUnit tasks for Apache Ant.
%package -n ant-manual
License: The Apache Software License
License: Apache Software License ..
Summary: Manual for ant
Group: Development/Tools/Building
@ -433,7 +443,7 @@ This package contains the manual for Apache Ant.
%package -n ant-javadoc
License: The Apache Software License
License: Apache Software License ..
Summary: Javadoc for ant
Group: Development/Tools/Building
@ -884,6 +894,8 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Wed Jun 17 2009 mvyskocil@suse.cz
- do not use Release number in Requires of subpackages
* Sun May 03 2009 ro@suse.de
- do not assume release number for ant and ant-antlr are identical
* Tue Apr 28 2009 mvyskocil@suse.cz

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 17 10:22:10 CEST 2009 - mvyskocil@suse.cz
- do not use Release number in Requires of subpackages
-------------------------------------------------------------------
Sun May 3 11:37:14 CEST 2009 - ro@suse.de

152
ant.spec
View File

@ -28,13 +28,13 @@ Name: ant
# This line is not a comment, please do not remove it!
#%(sh %{_sourcedir}/ant-antlr-prepare.sh %{_sourcedir} %{name})
Version: 1.7.1
Release: 3
Release: 4
%if %bootstrap
Summary: A Java-Based Build Tool
%else
Summary: A Java-Based Build Tool
%endif
License: The Apache Software License
License: Apache Software License ..
Url: http://jakarta.apache.org/
Group: Development/Tools/Building
Source0: %{cvs_name}-%{version}-src.tar.bz2
@ -96,7 +96,7 @@ Requires: jpackage-utils >= 1.7.5
Requires: java-devel >= 1.5.0
%else
# ant-antlr requires
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: antlr
Provides: ant-antlr = %{version}-%{release}
%endif
@ -142,6 +142,41 @@ based on the OS used.
Apache Ant is a Java-based build tool. In theory, it is kind of like
Make, but without Make's wrinkles.
Why another build tool when there is already make, gnumake, nmake, jam,
and others? Because all those tools have limitations that Ant's
original author could not live with when developing software across
multiple platforms. Make-like tools are inherently shell-based--they
evaluate a set of dependencies then execute commands, not unlike what
you would issue in a shell. This means that you can easily extend these
tools by using or writing any program for the OS that you are working
on. However, this also means that you limit yourself to the OS, or at
least the OS type, such as Unix, that you are working on.
Makefiles are inherently evil as well. Anybody who has worked on them
for any time has run into the dreaded tab problem. "Is my command not
executing because I have a space in front of my tab???" said the
original author of Ant way too many times. Tools like Jam took care of
this to a great degree, but still have yet another format to use and
remember.
Ant is different. Instead of a model where it is extended with
shell-based commands, Ant is extended using Java classes. Instead of
writing shell commands, the configuration files are XML-based, calling
out a target tree where various tasks are executed. Each task is run by
an object that implements a particular task interface.
Granted, this removes some of the expressive power that is inherent by
being able to construct a shell command such as `find . -name foo -exec
rm {}`, but it gives you the ability to be cross-platform--to work
anywhere and everywhere. If you really need to execute a shell command,
Ant has an <exec> task that allows different commands to be executed
based on the OS used.
%else
%description
@ -180,14 +215,49 @@ based on the OS used.
Apache Ant is a Java-based build tool. In theory, it is kind of like
Make, but without Make's wrinkles.
Why another build tool when there is already make, gnumake, nmake, jam,
and others? Because all those tools have limitations that Ant's
original author could not live with when developing software across
multiple platforms. Make-like tools are inherently shell-based--they
evaluate a set of dependencies then execute commands, not unlike what
you would issue in a shell. This means that you can easily extend these
tools by using or writing any program for the OS that you are working
on. However, this also means that you limit yourself to the OS, or at
least the OS type, such as Unix, that you are working on.
Makefiles are inherently evil as well. Anybody who has worked on them
for any time has run into the dreaded tab problem. "Is my command not
executing because I have a space in front of my tab???" said the
original author of Ant way too many times. Tools like Jam took care of
this to a great degree, but still have yet another format to use and
remember.
Ant is different. Instead of a model where it is extended with
shell-based commands, Ant is extended using Java classes. Instead of
writing shell commands, the configuration files are XML-based, calling
out a target tree where various tasks are executed. Each task is run by
an object that implements a particular task interface.
Granted, this removes some of the expressive power that is inherent by
being able to construct a shell command such as `find . -name foo -exec
rm {}`, but it gives you the ability to be cross-platform--to work
anywhere and everywhere. If you really need to execute a shell command,
Ant has an <exec> task that allows different commands to be executed
based on the OS used.
%endif
%if %bootstrap
%package -n ant-jmf
License: The Apache Software License
License: Apache Software License ..
Summary: Optional jmf tasks for ant
Group: Development/Tools/Building
Requires: ant = %{version}-%{release}
Requires: ant = %{version}
Provides: ant-jmf = %{version}-%{release}
%description -n ant-jmf
@ -198,10 +268,10 @@ This package contains optional jmf tasks for Apache Ant.
%package -n ant-nodeps
License: The Apache Software License
License: Apache Software License ..
Summary: Optional tasks for ant
Group: Development/Tools/Building
Requires: ant = %{version}-%{release}
Requires: ant = %{version}
Provides: ant-nodeps = %{version}-%{release}
%description -n ant-nodeps
@ -212,10 +282,10 @@ This package contains optional tasks for Apache Ant.
%package -n ant-swing
License: The Apache Software License
License: Apache Software License ..
Summary: Optional swing tasks for ant
Group: Development/Tools/Building
Requires: ant = %{version}-%{release}
Requires: ant = %{version}
Provides: ant-swing = %{version}-%{release}
%description -n ant-swing
@ -226,10 +296,10 @@ This package contains optional swing tasks for Apache Ant.
%package -n ant-trax
License: The Apache Software License
License: Apache Software License ..
Summary: Optional trax tasks for ant
Group: Development/Tools/Building
Requires: ant = %{version}-%{release}
Requires: ant = %{version}
Requires: jaxp_transform_impl
Provides: ant-trax = %{version}-%{release}
# The ant-xalan jar has been merged into the ant-trax one
@ -244,11 +314,11 @@ This package contains optional trax tasks for Apache Ant.
%package -n ant-scripts
License: The Apache Software License
License: Apache Software License ..
Summary: Additional scripts for ant
Group: Development/Tools/Building
AutoReqProv: no
Requires: ant = %{version}-%{release}
Requires: ant = %{version}
Requires: %{_bindir}/perl
Requires: %{_bindir}/python
@ -264,10 +334,10 @@ Ant.
%if ! %bootstrap
%package -n ant-apache-bsf
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache bsf tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: bsf
BuildRequires: bsf
Provides: ant-apache-bsf = %{version}-%{release}
@ -280,10 +350,10 @@ This package contains optional apache bsf tasks for Apache Ant.
%package -n ant-apache-resolver
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache resolver tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: xml-commons-resolver
BuildRequires: xml-commons-resolver
Provides: ant-apache-resolver = %{version}-%{release}
@ -296,10 +366,10 @@ This package contains optional apache resolver tasks for Apache Ant.
%package -n ant-commons-logging
License: The Apache Software License
License: Apache Software License ..
Summary: Optional commons logging tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: jakarta-commons-logging
BuildRequires: jakarta-commons-logging
Provides: ant-commons-logging = %{version}-%{release}
@ -312,10 +382,10 @@ This package contains optional commons logging tasks for Apache Ant.
%package -n ant-commons-net
License: The Apache Software License
License: Apache Software License ..
Summary: Optional commons net tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: jakarta-commons-net
BuildRequires: jakarta-commons-net
Provides: ant-commons-net = %{version}-%{release}
@ -333,7 +403,7 @@ This package contains optional commons net tasks for Apache Ant.
Summary: Optional jai tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: jai
BuildRequires: jai
Provides: ant-jai = %{version}-%{release}
@ -343,10 +413,10 @@ Optional jai tasks for ant.
%endif
%package -n ant-apache-bcel
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache bcel tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: bcel
BuildRequires: bcel
Provides: ant-apache-bcel = %{version}-%{release}
@ -361,10 +431,10 @@ This package contains optional apache bcel tasks for Apache Ant.
%package -n ant-apache-log4j
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache log4j tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: log4j
BuildRequires: log4j
Provides: ant-apache-log4j = %{version}-%{release}
@ -379,10 +449,10 @@ This package contains optional apache log4j tasks for Apache Ant.
%package -n ant-apache-oro
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache oro tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: oro
BuildRequires: oro
Provides: ant-apache-oro = %{version}-%{release}
@ -397,10 +467,10 @@ This package contains optional apache oro tasks for Apache Ant.
%package -n ant-apache-regexp
License: The Apache Software License
License: Apache Software License ..
Summary: Optional apache regexp tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: regexp
BuildRequires: regexp
Provides: ant-apache-regexp = %{version}-%{release}
@ -415,10 +485,10 @@ This package contains optional apache regexp tasks for Apache Ant.
%package -n ant-javamail
License: Other uncritical OpenSource License; Common Development and Distribution License
License: Other uncritical OpenSource License ; Common Development and Distribution License
Summary: Optional javamail tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: javamail >= 1.2-5jpp
Requires: jaf >= 1.0.1-5jpp
BuildRequires: javamail >= 1.2-5jpp
@ -433,10 +503,10 @@ This package contains optional javamail tasks for Apache Ant.
%package -n ant-jdepend
License: The Apache Software License
License: Apache Software License ..
Summary: Optional jdepend tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: jdepend
BuildRequires: jdepend
Provides: ant-jdepend = %{version}-%{release}
@ -449,10 +519,10 @@ This package contains optional jdepend tasks for Apache Ant.
%package -n ant-jsch
License: The Apache Software License
License: Apache Software License ..
Summary: Optional jsch tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: jsch
BuildRequires: jsch
Provides: ant-jsch = %{version}-%{release}
@ -465,10 +535,10 @@ This package contains optional jsch tasks for Apache Ant.
%package -n ant-junit
License: The Apache Software License
License: Apache Software License ..
Summary: Optional junit tasks for ant
Group: Development/Tools/Building
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' ant`)
Requires: ant = %(echo `rpm -q --queryformat '%{VERSION}' ant`)
Requires: junit
Provides: ant-junit = %{version}-%{release}
@ -480,7 +550,7 @@ This package contains optional JUnit tasks for Apache Ant.
%package -n ant-manual
License: The Apache Software License
License: Apache Software License ..
Summary: Manual for ant
Group: Development/Tools/Building
@ -492,7 +562,7 @@ This package contains the manual for Apache Ant.
%package -n ant-javadoc
License: The Apache Software License
License: Apache Software License ..
Summary: Javadoc for ant
Group: Development/Tools/Building
@ -943,6 +1013,8 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Wed Jun 17 2009 mvyskocil@suse.cz
- do not use Release number in Requires of subpackages
* Sun May 03 2009 ro@suse.de
- do not assume release number for ant and ant-antlr are identical
* Tue Apr 28 2009 mvyskocil@suse.cz