https://bugzilla.redhat.com/show_bug.cgi?id=847302 --- Comment #1 from Lubomir Rintel <lkundrak@xxxxx> --- Resurrecting a dead package. Just ported to maven3. diff --git a/ezmorph.spec b/ezmorph.spec index ca8b883..64e4d0f 100644 --- a/ezmorph.spec +++ b/ezmorph.spec @@ -1,6 +1,6 @@ Name: ezmorph Version: 1.0.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Object transformation library for Java Group: Development/Libraries @@ -20,11 +20,12 @@ BuildRequires: java-devel BuildRequires: jpackage-utils BuildRequires: jakarta-oro BuildRequires: junit4 -BuildRequires: maven2-plugin-compiler -BuildRequires: maven2-plugin-install -BuildRequires: maven2-plugin-jar -BuildRequires: maven2-plugin-javadoc -BuildRequires: maven2-plugin-resources +BuildRequires: maven +BuildRequires: maven-compiler-plugin +BuildRequires: maven-install-plugin +BuildRequires: maven-jar-plugin +BuildRequires: maven-javadoc-plugin +BuildRequires: maven-resources-plugin BuildRequires: maven-doxia-sitetools BuildRequires: maven-surefire-maven-plugin BuildRequires: maven-surefire-provider-junit @@ -60,7 +61,7 @@ API documentation for %{name}. export MAVEN_REPO_LOCAL=$PWD/.m2/repository mkdir -p $MAVEN_REPO_LOCAL -mvn-jpp -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ +mvn-rpmbuild -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ install javadoc:javadoc @@ -71,8 +72,7 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_javadir} # Bad version number, likely a typo install -m644 target/%{name}-1.0.5.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar -ln -sf %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar + $RPM_BUILD_ROOT%{_javadir}/%{name}.jar # Documentation install -d $RPM_BUILD_ROOT%{_javadocdir} @@ -81,21 +81,13 @@ cp -ap target/site/apidocs $RPM_BUILD_ROOT%{_javadocdir}/%{name} # Maven install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom -%add_to_maven_depmap net.sf.ezmorph %{name} %{version} JPP %{name} +%add_maven_depmap JPP-%{name}.pom %{name}.jar %clean rm -rf $RPM_BUILD_ROOT -%post -%update_maven_depmap - - -%postun -%update_maven_depmap - - %files %defattr(-,root,root,-) %{_javadir}/* @@ -110,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Aug 10 2012 Lubomir Rintel <lkundrak@xxxxx> - 1.0.6-6 +- Use maven 3 + * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review