Accepting request 290503 from home:archie172:branches:Java:packages

Add back the patch that enables the <antcontrib:for> task

OBS-URL: https://build.opensuse.org/request/show/290503
OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant-contrib?expand=0&rev=20
This commit is contained in:
Tomáš Chvátal 2015-03-13 12:45:32 +00:00 committed by Git OBS Bridge
parent c79645582e
commit 64d73d2dd0
3 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -ur ant-contrib-1.0b3.orig/src/java/net/sf/antcontrib/antcontrib.properties ant-contrib-1.0b3/src/java/net/sf/antcontrib/antcontrib.properties
--- ant-contrib-1.0b3.orig/src/java/net/sf/antcontrib/antcontrib.properties 2006-10-28 06:57:56.000000000 -0500
+++ ant-contrib-1.0b3/src/java/net/sf/antcontrib/antcontrib.properties 2015-03-12 17:33:48.000000000 -0500
@@ -14,6 +14,7 @@
# Logic tasks
if=net.sf.antcontrib.logic.IfTask
+for=net.sf.antcontrib.logic.ForTask
foreach=net.sf.antcontrib.logic.ForEach
throw=net.sf.antcontrib.logic.Throw
trycatch=net.sf.antcontrib.logic.TryCatchTask

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 12 22:39:50 UTC 2015 - archie@dellroad.org
- Add back the patch that enables the <antcontrib:for> task
-------------------------------------------------------------------
Mon Jul 7 09:25:13 UTC 2014 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ant-contrib
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -31,6 +31,7 @@ Source2: http://www.apache.org/licenses/LICENSE-2.0.txt
Patch0: local-ivy.patch
Patch1: ant-contrib-antservertest.patch
Patch2: ant-contrib-pom.patch
Patch3: ant-contrib-1.0b3-enable-for-task.patch
BuildRequires: ant >= 1.7.1
BuildRequires: apache-ivy
BuildRequires: bcel >= 5.1
@ -72,6 +73,7 @@ cp %{SOURCE2} LICENSE-2.0.txt
%patch0
%patch1
%patch2 -p1
%patch3 -p1
find . -name '*.jar' -or -name '*.class' -exec rm -rf {} +