[maven-antrun-plugin] - Add patch to fix build.

Alexander Kurtakov akurtakov at fedoraproject.org
Tue Aug 31 03:42:17 UTC 2010


commit 582b3ca0bf45e77d374f3c071f47d8507af45732
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Tue Aug 31 06:41:48 2010 +0300

    - Add patch to fix build.

 fix-deps.patch           |   19 +++++++++++++++++++
 maven-antrun-plugin.spec |    9 +++++++--
 2 files changed, 26 insertions(+), 2 deletions(-)
---
diff --git a/fix-deps.patch b/fix-deps.patch
new file mode 100644
index 0000000..bd0bd01
--- /dev/null
+++ b/fix-deps.patch
@@ -0,0 +1,19 @@
+--- pom.xml.sav	2010-05-25 19:35:37.000000000 +0300
++++ pom.xml	2010-08-31 06:29:27.741235987 +0300
+@@ -75,6 +75,16 @@ under the License.
+       <artifactId>ant-nodeps</artifactId>
+       <version>1.8.1</version>
+     </dependency>
++    <dependency>
++      <groupId>org.codehaus.plexus</groupId>
++      <artifactId>plexus-container-default</artifactId>
++      <version>1.5.4</version>
++    </dependency>
++    <dependency>
++      <groupId>org.apache.maven</groupId>
++      <artifactId>maven-model</artifactId>
++      <version>1.0</version>
++    </dependency>
+   </dependencies>
+ 
+   <profiles>
diff --git a/maven-antrun-plugin.spec b/maven-antrun-plugin.spec
index 5acc26b..2cb4757 100644
--- a/maven-antrun-plugin.spec
+++ b/maven-antrun-plugin.spec
@@ -1,6 +1,6 @@
 Name:           maven-antrun-plugin
 Version:        1.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Maven AntRun Plugin
 
 Group:          Development/Libraries
@@ -9,6 +9,7 @@ URL:            http://maven.apache.org/plugins/maven-antrun-plugin/
 # svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-antrun-plugin-1.4
 # tar caf maven-antrun-plugin-1.4.tar.xz maven-antrun-plugin-1.4/ 
 Source0:        %{name}-%{version}.tar.xz 
+Patch0:         fix-deps.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch: noarch
@@ -48,7 +49,8 @@ API documentation for %{name}.
 
 
 %prep
-%setup -q #You may need to update this according to your Source0
+%setup -q 
+%patch0
 
 %build
 export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
@@ -102,6 +104,9 @@ rm -rf %{buildroot}
 %{_javadocdir}/%{name}
 
 %changelog
+* Tue Aug 31 2010 Alexander Kurtakov <akurtako at redhat.com> 1.4-3
+- Add patch to fix build.
+
 * Fri May 28 2010 Alexander Kurtakov <akurtako at redhat.com> 1.4-2
 - Add provides/obsoletes.
 


More information about the scm-commits mailing list