[jetty-toolchain] Build with XMvn
Michal Srb
msrb at fedoraproject.org
Tue Jul 30 07:14:08 UTC 2013
commit 0f9e21b636ae4d1ded80067552a75c4065dbf4a1
Author: Michal Srb <msrb at redhat.com>
Date: Tue Jul 30 09:13:25 2013 +0200
Build with XMvn
- Drop group tag
- Fix R/BR
jetty-toolchain.spec | 28 ++++++++++------------------
1 files changed, 10 insertions(+), 18 deletions(-)
---
diff --git a/jetty-toolchain.spec b/jetty-toolchain.spec
index 3d52dba..9cad908 100644
--- a/jetty-toolchain.spec
+++ b/jetty-toolchain.spec
@@ -1,9 +1,8 @@
Name: jetty-toolchain
Version: 1.4
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Jetty Toolchain main POM file
-Group: Development/Libraries
License: ASL 2.0 or EPL
URL: http://www.eclipse.org/jetty/
Source0: http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/%{name}-%{version}.tar.bz2
@@ -12,12 +11,8 @@ Source1: .rpmlint
BuildArch: noarch
BuildRequires: maven-local
-BuildRequires: jpackage-utils
BuildRequires: jetty-parent
-
-Requires: maven
-Requires: jpackage-utils
-Requires: jetty-parent
+BuildRequires: maven-release-plugin
%description
Jetty Toolchain main POM file
@@ -28,25 +23,22 @@ cp -p jetty-distribution-remote-resources/src/main/resources/* .
%build
pushd %{name}
-mvn-rpmbuild install
+%mvn_build
%install
-# poms
-install -d -m 755 %{buildroot}%{_mavenpomdir}
pushd %{name}
-install -pm 644 pom.xml \
- %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-
-%add_maven_depmap JPP-%{name}.pom
-popd
+%mvn_install
-%files
+%files -f %{name}/.mfiles
%doc LICENSE-APACHE-2.0.txt LICENSE-ECLIPSE-1.0.html notice.html
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
%changelog
+* Tue Jul 30 2013 Michal Srb <msrb at redhat.com> - 1.4-8
+- Build with XMvn
+- Drop group tag
+- Fix R/BR
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list