- Add patch to fix build.
This commit is contained in:
parent
01eece8701
commit
582b3ca0bf
19
fix-deps.patch
Normal file
19
fix-deps.patch
Normal file
@ -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>
|
@ -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@redhat.com> 1.4-3
|
||||
- Add patch to fix build.
|
||||
|
||||
* Fri May 28 2010 Alexander Kurtakov <akurtako@redhat.com> 1.4-2
|
||||
- Add provides/obsoletes.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user