[apache-commons-chain/f17] Add depmap file
gil
gil at fedoraproject.org
Mon Jun 18 16:22:34 UTC 2012
commit 9bcf4667b999f01cfff68ea1f6a604743b594b7e
Author: gil <puntogil at libero.it>
Date: Mon Jun 18 16:24:14 2012 +0200
Add depmap file
apache-commons-chain-1.2-depmap | 15 +++++++++++++++
apache-commons-chain.spec | 4 +++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/apache-commons-chain-1.2-depmap b/apache-commons-chain-1.2-depmap
new file mode 100644
index 0000000..d539120
--- /dev/null
+++ b/apache-commons-chain-1.2-depmap
@@ -0,0 +1,15 @@
+<dependencies>
+<dependency>
+ <maven>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.3</version>
+ </maven>
+ <jpp>
+ <groupId>JPP</groupId>
+ <artifactId>tomcat-servlet-3.0-api</artifactId>
+ <version>7.0.27</version>
+ </jpp>
+</dependency>
+
+</dependencies>
\ No newline at end of file
diff --git a/apache-commons-chain.spec b/apache-commons-chain.spec
index b0a4253..caffe0c 100644
--- a/apache-commons-chain.spec
+++ b/apache-commons-chain.spec
@@ -8,6 +8,8 @@ Group: Development/Libraries
License: ASL 2.0
URL: http://commons.apache.org/%{base_name}/
Source0: ftp://ftp.gbnet.net/pub/apache/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
+# force servlet-3.0-api
+Source1: %{name}-%{version}-depmap
# replace myfaces-api with jboss-jsf-2.1-api
Patch0: %{name}-%{version}-pom.patch
# javax.servlet 3.0 api support
@@ -90,7 +92,7 @@ rm -r src/test/org/apache/commons/chain/config/ConfigParserTestCase.java
%build
-mvn-rpmbuild -Dmaven.compile.source=1.5 -Dmaven.compile.target=1.5 install javadoc:aggregate
+mvn-rpmbuild -Dmaven.compile.source=1.5 -Dmaven.compile.target=1.5 -Dmaven.local.depmap.file="%{SOURCE1}" install javadoc:aggregate
%install
More information about the scm-commits
mailing list