Build with xmvn
This commit is contained in:
parent
ca27c32df4
commit
c992e95709
@ -2,7 +2,7 @@
|
||||
|
||||
Name: %{short_name}-pom
|
||||
Version: 1.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Plexus Components POM
|
||||
BuildArch: noarch
|
||||
Group: Development/Libraries
|
||||
@ -11,13 +11,9 @@ URL: http://plexus.codehaus.org/%{short_name}
|
||||
Source0: http://repo.maven.apache.org/maven2/org/codehaus/plexus/%{short_name}/%{version}/%{short_name}-%{version}.pom
|
||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: maven
|
||||
BuildRequires: xmvn
|
||||
BuildRequires: plexus-pom
|
||||
|
||||
Requires: jpackage-utils
|
||||
Requires: plexus-pom
|
||||
|
||||
%description
|
||||
This package provides Plexus Components parent POM used by different
|
||||
Plexus packages.
|
||||
@ -26,20 +22,19 @@ Plexus packages.
|
||||
cp -p %{SOURCE0} pom.xml
|
||||
cp -p %{SOURCE1} LICENSE
|
||||
|
||||
%check
|
||||
mvn-rpmbuild verify
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
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
|
||||
%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Dec 7 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-4
|
||||
- Build with xmvn
|
||||
|
||||
* Tue Nov 13 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2-3
|
||||
- Add missing BR/R: plexus-pom
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user