Update to current packaging guidelines
This commit is contained in:
parent
26b3e4fe6f
commit
882c6735d3
@ -1,27 +1,14 @@
|
||||
Name: fusesource-pom
|
||||
Version: 1.9
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: Parent POM for FuseSource Maven projects
|
||||
Group: Development/Libraries
|
||||
License: ASL 2.0
|
||||
URL: http://fusesource.com/
|
||||
Source0: http://repo1.maven.org/maven2/org/fusesource/fusesource-pom/%{version}/fusesource-pom-%{version}.pom
|
||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: java
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: maven-install-plugin
|
||||
BuildRequires: maven-javadoc-plugin
|
||||
BuildRequires: maven-release-plugin
|
||||
BuildRequires: maven-resources-plugin
|
||||
BuildRequires: maven-enforcer-plugin
|
||||
|
||||
Requires: maven
|
||||
Requires: java
|
||||
Requires: jpackage-utils
|
||||
|
||||
%description
|
||||
This is a shared POM parent for FuseSource Maven projects
|
||||
@ -36,22 +23,18 @@ cp -p %{SOURCE1} LICENSE
|
||||
%pom_xpath_remove "pom:extension[pom:artifactId[text()='wagon-webdav-jackrabbit']]"
|
||||
|
||||
%build
|
||||
mvn-rpmbuild install
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
# POM
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
||||
install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%mvn_install
|
||||
|
||||
# DEPMAP
|
||||
%add_maven_depmap JPP-%{name}.pom
|
||||
|
||||
%files
|
||||
%files -f .mfiles
|
||||
%doc LICENSE
|
||||
%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Thu Aug 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-6
|
||||
- Update to current packaging guidelines
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user