Build with xmvn

f38
Mikolaj Izdebski 12 years ago
parent 3a4e24eea9
commit a8131d67d2

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

Loading…
Cancel
Save