Build with xmvn
This commit is contained in:
parent
3a4e24eea9
commit
a8131d67d2
@ -2,41 +2,33 @@ Name: maven-parent
|
||||
Version: 20
|
||||
Release: 4%{?dist}
|
||||
Summary: Apache Maven parent POM
|
||||
|
||||
Group: Development/Libraries
|
||||
License: ASL 2.0
|
||||
URL: http://maven.apache.org
|
||||
Source0: http://repo1.maven.org/maven2/org/apache/maven/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: maven
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: apache-parent
|
||||
|
||||
Requires: jpackage-utils
|
||||
Requires: apache-parent
|
||||
|
||||
%description
|
||||
Apache Maven parent POM file used by other Maven projects.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%check
|
||||
mvn-rpmbuild verify
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
# poms
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%add_maven_depmap JPP-%{name}.pom
|
||||
%mvn_install
|
||||
|
||||
%files
|
||||
%files -f .mfiles
|
||||
%doc LICENSE NOTICE
|
||||
%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Feb 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 20-4
|
||||
- Build with xmvn
|
||||
|
||||
* Fri Nov 2 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 20-4
|
||||
- Add missing BR/R: apache-parent
|
||||
- Update to current packaging guidelines
|
||||
|
||||
Loading…
Reference in New Issue
Block a user