Build with xmvn
This commit is contained in:
parent
942ce9b93a
commit
c0ee9f0fd2
@ -1,35 +1,24 @@
|
||||
Name: plexus-pom
|
||||
Version: 3.3.1
|
||||
Release: 3%{?dist}
|
||||
Summary: Root Plexus Projects pom
|
||||
Release: 4%{?dist}
|
||||
Summary: Root Plexus Projects POM
|
||||
Group: Development/Libraries
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/sonatype/%{name}/
|
||||
# git clone git://github.com/sonatype/plexus-pom.git
|
||||
# (cd plexus-pom && git archive --format=tar --prefix=plexus-pom-3.3.1/ plexus-3.3.1 | xz > ../plexus-pom-3.3.1.tar.xz)
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source0: https://github.com/sonatype/plexus-pom/archive/plexus-%{version}.tar.gz
|
||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: jpackage-utils >= 0:1.7.5
|
||||
BuildRequires: spice-parent
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: modello
|
||||
BuildRequires: plexus-containers-component-metadata
|
||||
|
||||
Requires: maven
|
||||
Requires: spice-parent
|
||||
|
||||
Requires: jpackage-utils >= 0:1.7.5
|
||||
BuildArch: noarch
|
||||
BuildRequires: spice-parent
|
||||
|
||||
%description
|
||||
The Plexus project provides a full software stack for creating and
|
||||
executing software projects.
|
||||
executing software projects. This package provides parent POM for
|
||||
Plexus packages.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n plexus-pom-plexus-%{version}
|
||||
# require: maven-site-plugin *
|
||||
%pom_xpath_remove "pom:profile[pom:id='maven-3']"
|
||||
# * require: org.codehaus.plexus plexus-stylus-skin 1.0
|
||||
@ -41,22 +30,18 @@ executing software projects.
|
||||
cp -p %{SOURCE1} LICENSE
|
||||
|
||||
%build
|
||||
# Nothing to do
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
mkdir -p %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.plexus-plexus.pom
|
||||
%add_maven_depmap JPP.plexus-plexus.pom
|
||||
|
||||
%check
|
||||
mvn-rpmbuild verify
|
||||
|
||||
%files
|
||||
%files -f .mfiles
|
||||
%doc LICENSE
|
||||
%{_mavenpomdir}/JPP.plexus-plexus.pom
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Apr 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-4
|
||||
- Build with xmvn
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user