- Fix borked summaries for subpackages.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=58
This commit is contained in:
Tomáš Chvátal 2014-07-04 12:56:47 +00:00 committed by Git OBS Bridge
parent da38434eb8
commit ebea4a6ebd
3 changed files with 31 additions and 21 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 4 12:56:17 UTC 2014 - tchvatal@suse.com
- Fix borked summaries for subpackages.
-------------------------------------------------------------------
Fri Jul 4 11:54:48 UTC 2014 - tchvatal@suse.com

View File

@ -47,6 +47,8 @@ Source1001: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.
Source1002: ant.keyring
Patch0: apache-ant-no-test-jar.patch
Patch1: apache-ant-class-path-in-manifest.patch
#PATCH-FIX-SLE: fix building with old gcj by working around bugs
Patch2: apache-ant-old-gcj-build.patch
%if %bootstrap
BuildRequires: java-1_5_0-gcj-compat-devel
#!BuildIgnore: java-1_6_0-openjdk java-1_6_0-openjdk-devel
@ -126,7 +128,7 @@ based on the OS used.
%if %bootstrap
%package -n ant-jmf
Summary: Antlr Task for ant
Summary: Optional jmf tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: ant = %{version}
@ -138,7 +140,7 @@ Apache Ant is a Java-based build tool.
This package contains optional jmf tasks for Apache Ant.
%package -n ant-swing
Summary: Antlr Task for ant
Summary: Optional swing tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: ant = %{version}
@ -150,7 +152,7 @@ Apache Ant is a Java-based build tool.
This package contains optional swing tasks for Apache Ant.
%package -n ant-scripts
Summary: Antlr Task for ant
Summary: Additional scripts for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: %{_bindir}/perl
@ -167,7 +169,7 @@ Ant.
%if ! %bootstrap
%package -n ant-apache-bsf
Summary: Antlr Task for ant
Summary: Optional apache bsf tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: bsf
@ -180,7 +182,7 @@ Apache Ant is a Java-based build tool.
This package contains optional apache bsf tasks for Apache Ant.
%package -n ant-apache-resolver
Summary: Antlr Task for ant
Summary: Optional apache resolver tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: xml-commons-resolver
@ -193,7 +195,7 @@ Apache Ant is a Java-based build tool.
This package contains optional apache resolver tasks for Apache Ant.
%package -n ant-commons-logging
Summary: Antlr Task for ant
Summary: Optional commons logging tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: jakarta-commons-logging
@ -206,7 +208,7 @@ Apache Ant is a Java-based build tool.
This package contains optional commons logging tasks for Apache Ant.
%package -n ant-commons-net
Summary: Antlr Task for ant
Summary: Optional commons net tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: jakarta-commons-net
@ -221,7 +223,7 @@ This package contains optional commons net tasks for Apache Ant.
# Disable because we don't ship the dependencies
%if 0
%package -n ant-jai
Summary: Antlr Task for ant
Summary: Optional jai tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: jai
@ -233,7 +235,7 @@ Optional jai tasks for ant.
%endif
%package -n ant-apache-bcel
Summary: Antlr Task for ant
Summary: Optional apache bcel tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: bcel
@ -248,7 +250,7 @@ Apache Ant is a Java-based build tool.
This package contains optional apache bcel tasks for Apache Ant.
%package -n ant-apache-log4j
Summary: Antlr Task for ant
Summary: Optional apache log4j tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: log4j
@ -263,7 +265,7 @@ Apache Ant is a Java-based build tool.
This package contains optional apache log4j tasks for Apache Ant.
%package -n ant-apache-oro
Summary: Antlr Task for ant
Summary: Optional apache oro tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: oro
@ -278,7 +280,7 @@ Apache Ant is a Java-based build tool.
This package contains optional apache oro tasks for Apache Ant.
%package -n ant-apache-regexp
Summary: Antlr Task for ant
Summary: Optional apache regexp tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: regexp
@ -293,7 +295,7 @@ Apache Ant is a Java-based build tool.
This package contains optional apache regexp tasks for Apache Ant.
%package -n ant-apache-xalan2
Summary: Antlr Task for ant
Summary: Optional apache xalan2 tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
BuildRequires: regexp
@ -304,7 +306,7 @@ Requires: regexp
Optional apache xalan2 tasks for %{name}.
%package -n ant-javamail
Summary: Antlr Task for ant
Summary: Optional javamail tasks for ant
License: CDDL-1.0
Group: Development/Tools/Building
BuildRequires: javamail >= 1.2-5jpp
@ -317,7 +319,7 @@ Apache Ant is a Java-based build tool.
This package contains optional javamail tasks for Apache Ant.
%package -n ant-jdepend
Summary: Antlr Task for ant
Summary: Optional jdepend tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: jdepend
@ -330,7 +332,7 @@ Apache Ant is a Java-based build tool.
This package contains optional jdepend tasks for Apache Ant.
%package -n ant-jsch
Summary: Antlr Task for ant
Summary: Optional jsch tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: jsch
@ -343,7 +345,7 @@ Apache Ant is a Java-based build tool.
This package contains optional jsch tasks for Apache Ant.
%package -n ant-junit
Summary: Antlr Task for ant
Summary: Optional junit tasks for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: junit4
@ -355,7 +357,7 @@ Apache Ant is a Java-based build tool.
This package contains optional JUnit tasks for Apache Ant.
%package -n ant-testutil
Summary: Antlr Task for ant
Summary: Test utility classes for ant
License: Apache-2.0
Group: Development/Tools/Building
Requires: junit4
@ -365,7 +367,7 @@ Requires: junit4
Test utility tasks for %{name}.
%package -n ant-manual
Summary: Antlr Task for ant
Summary: Manual for ant
License: Apache-2.0
Group: Development/Tools/Building
@ -376,7 +378,7 @@ This package contains the manual for Apache Ant.
%if 0%{?build_javadoc}
%package -n ant-javadoc
Summary: Antlr Task for ant
Summary: Javadoc for ant
License: Apache-2.0
Group: Development/Tools/Building
@ -395,6 +397,9 @@ find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
# When bootstrapping, we don't have junit
%if %bootstrap
%patch0 -p1
%if 0%{?suse_version} < 1200
%patch2 -p1
%endif
%endif
# Fix class-path-in-manifest rpmlint warning

View File

@ -2,5 +2,5 @@
EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. Use the ant.spec! #####\n"
sed "s/^%global bootstrap.*$/${EDIT_WARNING}%global bootstrap 0/;
s/^\(Name:.*\)$/\1-antlr/;
s/^Summary:.*/Summary: Antlr Task for ant/;
0,/^Summary:.*/{s/^Summary:.*/Summary: Antlr Task for ant/};
" < ant.spec > ant-antlr.spec