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-24-source-release.zip
/mojo-parent-28-source-release.zip /mojo-parent-28-source-release.zip
mojo-parent-29-source-release.zip

View File

@ -1,23 +1,25 @@
Name: mojo-parent Name: mojo-parent
Version: 28 Version: 29
Release: 2%{?dist} Release: 1%{?dist}
Summary: Codehaus MOJO parent project pom file Summary: Codehaus MOJO parent project pom file
Group: Development/Libraries Group: Development/Libraries
License: ASL 2.0 License: ASL 2.0
URL: http://mojo.codehaus.org/ 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 BuildArch: noarch
BuildRequires: jpackage-utils BuildRequires: jpackage-utils
BuildRequires: codehaus-parent
BuildRequires: maven
BuildRequires: maven-enforcer-plugin
BuildRequires: maven-plugin-cobertura
Requires: plexus-containers-component-javadoc Requires: plexus-containers-component-javadoc
Requires: maven-plugin-plugin Requires: maven-plugin-plugin
Requires: junit Requires: junit
Requires: codehaus-parent
Requires: jpackage-utils Requires: jpackage-utils
Requires(post): jpackage-utils
Requires(postun): jpackage-utils
%description %description
Codehaus MOJO parent project pom file Codehaus MOJO parent project pom file
@ -25,8 +27,8 @@ Codehaus MOJO parent project pom file
%prep %prep
%setup -q %setup -q
# remove parent definition for now %build
sed -i '/<parent>/,/<\/parent>/{d}' pom.xml mvn-rpmbuild install
%install %install
# poms # poms
@ -34,24 +36,16 @@ install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml \ install -pm 644 pom.xml \
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_to_maven_depmap org.codehaus.mojo %{name} %{version} JPP %{name} %add_maven_depmap JPP-%{name}.pom
%post
%update_maven_depmap
%postun
%update_maven_depmap
%files %files
%defattr(-,root,root,-)
%{_mavenpomdir}/* %{_mavenpomdir}/*
%{_mavendepmapfragdir}/* %{_mavendepmapfragdir}/*
%changelog %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 * Tue Mar 8 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 28-2
- Remove parent from pom.xml (no codehaus-parent in Fedora now) - 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