[shrinkwrap-resolver] Make the spec actually buildable
Marek Goldmann
goldmann at fedoraproject.org
Mon Oct 28 11:22:21 UTC 2013
commit d459c77a774eb3226f8b82cb57a21b55aa1ec873
Author: Marek Goldmann <marek.goldmann at gmail.com>
Date: Mon Oct 28 12:22:18 2013 +0100
Make the spec actually buildable
shrinkwrap-resolver.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/shrinkwrap-resolver.spec b/shrinkwrap-resolver.spec
index 3485a3d..21b4ba5 100644
--- a/shrinkwrap-resolver.spec
+++ b/shrinkwrap-resolver.spec
@@ -11,6 +11,7 @@ Source0: https://github.com/shrinkwrap/resolver/archive/1aba3c1fc97047d
BuildArch: noarch
+BuildRequires: aether
BuildRequires: maven-local
BuildRequires: maven-compiler-plugin
BuildRequires: maven-install-plugin
@@ -29,6 +30,8 @@ BuildRequires: mvn(org.eclipse.aether:aether-api)
BuildRequires: mvn(org.eclipse.aether:aether-impl)
BuildRequires: mvn(org.eclipse.aether:aether-spi)
BuildRequires: mvn(org.eclipse.aether:aether-util)
+BuildRequires: mvn(org.eclipse.aether:aether-connector-basic)
+BuildRequires: mvn(org.eclipse.aether:aether-transport-wagon)
BuildRequires: mvn(org.mockito:mockito-all)
BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin)
@@ -46,8 +49,10 @@ This package contains the API documentation for %{name}.
%pom_remove_plugin ":maven-enforcer-plugin"
+%pom_xpath_remove "pom:dependencies/pom:dependency[pom:scope = 'test']" impl-maven/pom.xml
+
%build
-%mvn_build
+%mvn_build -f
%install
%mvn_install
More information about the scm-commits
mailing list