[schlichtherle-oss-parent] Use new maven POM macros and guidelines

Gerard Ryan galileo at fedoraproject.org
Tue Oct 15 20:47:15 UTC 2013


commit 34c4080837b5186a8ef2d1803dc3c0ca09502311
Author: Gerard Ryan <gerard at ryan.lt>
Date:   Tue Oct 15 21:45:01 2013 +0100

    Use new maven POM macros and guidelines

 schlichtherle-oss-parent.spec |   23 ++++-------------------
 1 files changed, 4 insertions(+), 19 deletions(-)
---
diff --git a/schlichtherle-oss-parent.spec b/schlichtherle-oss-parent.spec
index 32c7713..e17d271 100644
--- a/schlichtherle-oss-parent.spec
+++ b/schlichtherle-oss-parent.spec
@@ -10,45 +10,30 @@ Source0:	http://central.maven.org/maven2/de/schlichtherle/oss-parent/%{version}/
 
 BuildArch:	noarch
 
-BuildRequires:	java
-BuildRequires:	jpackage-utils
 BuildRequires:	maven-local
 BuildRequires:	maven-enforcer-plugin
 BuildRequires:	sonatype-oss-parent
 
-Requires:	java
-Requires:	jpackage-utils
-Requires:	maven
-
-
 %description
 A parent Project Object Model (POM) for Open
 Source Software (OSS) projects, such as truezip.
 
-
 %prep
 cp %{SOURCE0} pom.xml
 
 %build
-mvn-rpmbuild package
-
+%mvn_build
 
 %install
-install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
-install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
-
-%add_maven_depmap JPP-%{name}.pom
-
-
-%files
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
+%mvn_install
 
+%files -f .mfiles
 
 %changelog
 * Tue Oct 15 2013 Gerard Ryan <galileo at fedoraproject.org> - 21-1
 - Update to version 21
 - Remove unnecessary patch
+- Use new maven POM macros and guidelines
 
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 9-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list