Update to latest upstream.

This commit is contained in:
Alexander Kurtakov 2011-12-07 11:32:18 +02:00
parent 0bc615d535
commit 5c41b575ef
3 changed files with 16 additions and 21 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/mojo-parent-24-source-release.zip
/mojo-parent-28-source-release.zip
mojo-parent-29-source-release.zip

View File

@ -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)

View File

@ -1 +1 @@
70a2bc7cf9f2c58e4e7328ee6f1e611d mojo-parent-28-source-release.zip
b31e6bb50702beca00f381faa43c190d mojo-parent-29-source-release.zip