[byteman] Remove tools.jar from dependencyManagement

Mikolaj Izdebski mizdebsk at fedoraproject.org
Wed Jun 5 16:28:33 UTC 2013


commit 51d4ec3a1cfc5eefadefa862a08f2f93f7c1e632
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Wed Jun 5 16:16:23 2013 +0200

    Remove tools.jar from dependencyManagement

 byteman.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/byteman.spec b/byteman.spec
index b7dccfc..dff2aff 100644
--- a/byteman.spec
+++ b/byteman.spec
@@ -3,7 +3,7 @@
 
 Name:             byteman
 Version:          2.0.4
-Release:          4%{?dist}
+Release:          5%{?dist}
 Summary:          Java agent-based bytecode injection tool
 Group:            Development/Libraries
 License:          LGPLv2+
@@ -67,6 +67,11 @@ This package contains the API documentation for %{name}.
 sed -i "s|net.sf.squirrel-sql.thirdparty-non-maven|java_cup|" agent/pom.xml
 sed -i "s|java-cup|java_cup|" agent/pom.xml
 
+# Remove tools.jar from dependencyManagement (Fedora-specific patch).
+# In Fedora tools.jar doesn't need to use system scope or provide
+# systemPath - Maven will find it anyways.
+%pom_remove_dep com.sun:tools
+
 %build
 %mvn_build
 
@@ -113,6 +118,9 @@ ln -s %{_javadir}/byteman/byteman.jar $RPM_BUILD_ROOT%{homedir}/lib/byteman.jar
 %doc docs/copyright.txt
 
 %changelog
+* Wed Jun  5 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 2.0.4-5
+- Remove tools.jar from dependencyManagement
+
 * Wed May 29 2013 Marek Goldmann <mgoldman at redhat.com> - 2.0.4-4
 - New guidelines
 


More information about the scm-commits mailing list