[maven-hpi-plugin] Add BR: ant-apache-regexp
Michal Srb
msrb at fedoraproject.org
Mon Sep 2 11:35:55 UTC 2013
commit 18dd6f3022274d55063a14892101b2c37d781bfb
Author: Michal Srb <msrb at redhat.com>
Date: Mon Sep 2 13:35:20 2013 +0200
Add BR: ant-apache-regexp
maven-hpi-plugin.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/maven-hpi-plugin.spec b/maven-hpi-plugin.spec
index 0d3585e..8ac7a59 100644
--- a/maven-hpi-plugin.spec
+++ b/maven-hpi-plugin.spec
@@ -1,6 +1,6 @@
Name: maven-hpi-plugin
Version: 1.98
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Maven plugin to build Jenkins plugins
# Project is licensed under ASL 2.0, but following
@@ -37,6 +37,7 @@ BuildRequires: mvn(org.codehaus.plexus:plexus-interactivity-api)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
BuildRequires: mvn(org.jenkins-ci:version-number)
BuildRequires: mvn(org.kohsuke.stapler:stapler-groovy)
+BuildRequires: ant-apache-regexp
%description
@@ -63,6 +64,10 @@ rm ./src/main/java/org/jenkinsci/maven/plugins/hpi/VersionNumber.java
%pom_add_dep org.jenkins-ci:version-number
%patch1 -p1
+# Fix groupId for ant-apache-regexp
+%pom_xpath_replace "pom:dependency[pom:artifactId[text()='ant-apache-regexp']]/pom:groupId" \
+ "<groupId>org.apache.ant</groupId>"
+
# Nothing really interesting in parent
%pom_remove_parent
@@ -95,6 +100,9 @@ rm src/main/java/org/jenkinsci/maven/plugins/hpi/CreateMojo.java
%changelog
+* Mon Sep 02 2013 Michal Srb <msrb at redhat.com> - 1.98-2
+- Add BR: ant-apache-regexp
+
* Mon Sep 02 2013 Michal Srb <msrb at redhat.com> - 1.98-1
- Update to upstream version 1.98
More information about the scm-commits
mailing list