Update to latest upstream.
This commit is contained in:
parent
0bc615d535
commit
5c41b575ef
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/mojo-parent-24-source-release.zip
|
||||
/mojo-parent-28-source-release.zip
|
||||
mojo-parent-29-source-release.zip
|
||||
|
@ -1,23 +1,25 @@
|
||||
Name: mojo-parent
|
||||
Version: 28
|
||||
Release: 2%{?dist}
|
||||
Version: 29
|
||||
Release: 1%{?dist}
|
||||
Summary: Codehaus MOJO parent project pom file
|
||||
|
||||
Group: Development/Libraries
|
||||
License: ASL 2.0
|
||||
URL: http://mojo.codehaus.org/
|
||||
Source0: https://nexus.codehaus.org/content/repositories/releases/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||
Source0: http://repo1.maven.org/maven2/org/codehaus/mojo/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: codehaus-parent
|
||||
BuildRequires: maven
|
||||
BuildRequires: maven-enforcer-plugin
|
||||
BuildRequires: maven-plugin-cobertura
|
||||
|
||||
Requires: plexus-containers-component-javadoc
|
||||
Requires: maven-plugin-plugin
|
||||
Requires: junit
|
||||
|
||||
Requires: codehaus-parent
|
||||
Requires: jpackage-utils
|
||||
Requires(post): jpackage-utils
|
||||
Requires(postun): jpackage-utils
|
||||
|
||||
%description
|
||||
Codehaus MOJO parent project pom file
|
||||
@ -25,8 +27,8 @@ Codehaus MOJO parent project pom file
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
# remove parent definition for now
|
||||
sed -i '/<parent>/,/<\/parent>/{d}' pom.xml
|
||||
%build
|
||||
mvn-rpmbuild install
|
||||
|
||||
%install
|
||||
# poms
|
||||
@ -34,24 +36,16 @@ install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 pom.xml \
|
||||
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
|
||||
%add_to_maven_depmap org.codehaus.mojo %{name} %{version} JPP %{name}
|
||||
|
||||
|
||||
%post
|
||||
%update_maven_depmap
|
||||
|
||||
%postun
|
||||
%update_maven_depmap
|
||||
|
||||
%add_maven_depmap JPP-%{name}.pom
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_mavenpomdir}/*
|
||||
%{_mavendepmapfragdir}/*
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Dec 7 2011 Alexander Kurtakov <akurtako@redhat.com> 29-1
|
||||
- Update to latest upstream.
|
||||
|
||||
* Tue Mar 8 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 28-2
|
||||
- Remove parent from pom.xml (no codehaus-parent in Fedora now)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user