Bug 847302 - Review Request: ezmorph - Object transformation library for Java
Summary: Review Request: ezmorph - Object transformation library for Java
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Maros Zatko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-10 13:51 UTC by Lubomir Rintel
Modified: 2012-08-11 09:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-11 09:36:30 UTC
Type: Bug
Embargoed:
mzatko: fedora-review+


Attachments (Terms of Use)

Description Lubomir Rintel 2012-08-10 13:51:00 UTC
SPEC: http://v3.sk/~lkundrak/SPECS/ezmorph.spec
SRPM: http://v3.sk/~lkundrak/SRPMS/ezmorph-1.0.6-6.fc18.src.rpm

Description:

EZMorph is simple java library for transforming an Object to another
Object. It supports transformations for primitives and Objects and
multidimensional arrays.

Comment 1 Lubomir Rintel 2012-08-10 13:51:39 UTC
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> - 1.0.6-6
+- Use maven 3
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng.org> - 1.0.6-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

Comment 2 Maros Zatko 2012-08-10 14:22:35 UTC
Comment 3 Lubomir Rintel 2012-08-10 14:24:59 UTC
Thanks for the review :)

New Package SCM Request
=======================
Package Name: ezmorph
Short Description: Object transformation library for Java
Owners: lkundrak
Branches: f17 f18 el6

Comment 4 Gwyn Ciesla 2012-08-10 14:31:07 UTC
Unretired devel, file an SCM change request for f18.

Comment 5 Lubomir Rintel 2012-08-11 09:33:43 UTC
Package Change Request
======================
Package Name: ezmorph
Owners: lkundrak
Branches: f17 f18 el6

Comment 6 Lubomir Rintel 2012-08-11 09:36:30 UTC
Ignore the CVS request please, meanwhile the package got a maintainer, thankfully.


Note You need to log in before you can comment on or make changes to this bug.