Bug 847302
| Summary: | Review Request: ezmorph - Object transformation library for Java | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lubomir Rintel <lkundrak> |
| Component: | Package Review | Assignee: | Maros Zatko <mzatko> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | mzatko, notting, package-review |
| Target Milestone: | --- | Flags: | mzatko:
fedora-review+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-11 09:36:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Lubomir Rintel
2012-08-10 13:51:00 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
♥ Thanks for the review :) New Package SCM Request ======================= Package Name: ezmorph Short Description: Object transformation library for Java Owners: lkundrak Branches: f17 f18 el6 Unretired devel, file an SCM change request for f18. Package Change Request ====================== Package Name: ezmorph Owners: lkundrak Branches: f17 f18 el6 Ignore the CVS request please, meanwhile the package got a maintainer, thankfully. |