[jenkins-remoting] Remove unneeded pom_ macro

Michal Srb msrb at fedoraproject.org
Thu Apr 3 06:49:45 UTC 2014


commit 9df84bbeac4dff84a8995acac9df6ce8abc99e6d
Author: Michal Srb <msrb at redhat.com>
Date:   Thu Apr 3 08:48:48 2014 +0200

    Remove unneeded pom_ macro

 jenkins-remoting.spec |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/jenkins-remoting.spec b/jenkins-remoting.spec
index ad1eee2..cf371a6 100644
--- a/jenkins-remoting.spec
+++ b/jenkins-remoting.spec
@@ -2,7 +2,7 @@
 
 Name:           jenkins-remoting
 Version:        2.37
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Jenkins remoting module
 
 # License is specified in pom file
@@ -60,10 +60,6 @@ cp %{SOURCE2} .
 # missing dep org.jenkins-ci:remoting-test-client
 %pom_xpath_remove "pom:plugin[pom:artifactId[text()='maven-dependency-plugin']]/pom:executions/pom:execution[pom:id[text()='resgen']]"
 
-# args4j dependency should have scope 'compile', not 'provided'
-%pom_xpath_replace "pom:dependency[pom:artifactId[text()='args4j']]/pom:scope" \
-  "<scope>compile</scope>"
-
 # We don't have or don't need following plugins
 %pom_remove_plugin :maven-jarsigner-plugin
 %pom_remove_plugin :build-helper-maven-plugin
@@ -92,6 +88,9 @@ cp %{SOURCE2} .
 %doc LICENSE-MIT LICENSE-ASL
 
 %changelog
+* Thu Apr 03 2014 Michal Srb <msrb at redhat.com> - 2.37-2
+- Remove unneeded pom_ macro
+
 * Thu Apr 03 2014 Michal Srb <msrb at redhat.com> - 2.37-1
 - Update to upstream version 2.37
 


More information about the scm-commits mailing list