[apache-commons-logging] Set logkit dependency scope to provided

Mikolaj Izdebski mizdebsk at fedoraproject.org
Thu Feb 20 16:19:57 UTC 2014


commit 6acd3c658ef92b290b7d549e6dfb98b351e81266
Author: Michael Simacek <msimacek at redhat.com>
Date:   Thu Feb 20 16:24:15 2014 +0100

    Set logkit dependency scope to provided
    
    Signed-off-by: Michael Simacek <msimacek at redhat.com>
    Signed-off-by: Mikolaj Izdebski <mizdebsk at redhat.com>

 apache-commons-logging.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/apache-commons-logging.spec b/apache-commons-logging.spec
index 43d5aec..3e62512 100644
--- a/apache-commons-logging.spec
+++ b/apache-commons-logging.spec
@@ -4,7 +4,7 @@
 
 Name:           apache-%{short_name}
 Version:        1.1.3
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Apache Commons Logging
 License:        ASL 2.0
 URL:            http://commons.apache.org/%{base_name}
@@ -53,6 +53,8 @@ Summary:        API documentation for %{name}
 %pom_add_dep avalon-framework:avalon-framework-api:4.3:provided
 %pom_add_dep avalon-framework:avalon-framework-impl:4.3:test
 
+%pom_xpath_inject "pom:dependency[pom:artifactId='logkit']" '<scope>provided</scope>'
+
 %pom_remove_plugin :cobertura-maven-plugin
 %pom_remove_plugin :maven-scm-publish-plugin
 
@@ -97,6 +99,9 @@ install -pm 644 %{SOURCE2} %{buildroot}/%{_mavenpomdir}/JPP-%{short_name}-api.po
 # -----------------------------------------------------------------------------
 
 %changelog
+* Thu Feb 20 2014 Michael Simacek <msimacek at redhat.com> - 1.1.3-10
+- Set logkit dependency scope to provided
+
 * Thu Feb 20 2014 Michael Simacek <msimacek at redhat.com> - 1.1.3-9
 - Set avalon dependency scope to provided
 


More information about the scm-commits mailing list