Add missing BR/R: apache-parent
- Update to current packaging guidelines
This commit is contained in:
parent
c013132bd6
commit
3a4e24eea9
@ -1,20 +1,20 @@
|
||||
Name: maven-parent
|
||||
Version: 20
|
||||
Release: 3%{?dist}
|
||||
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 >= 0:1.7.5-5
|
||||
BuildRequires: jpackage-utils
|
||||
BuildRequires: maven
|
||||
BuildRequires: apache-parent
|
||||
|
||||
Requires: jpackage-utils
|
||||
Requires(post): jpackage-utils >= 0:1.7.5-5
|
||||
Requires(postun): jpackage-utils >= 0:1.7.5-5
|
||||
Requires: jpackage-utils
|
||||
Requires: apache-parent
|
||||
|
||||
%description
|
||||
Apache Maven parent POM file used by other Maven projects.
|
||||
@ -22,29 +22,25 @@ Apache Maven parent POM file used by other Maven projects.
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
#nothing to do for the pom
|
||||
%check
|
||||
mvn-rpmbuild verify
|
||||
|
||||
%install
|
||||
# poms
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -pm 644 pom.xml \
|
||||
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
|
||||
install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%add_maven_depmap JPP-%{name}.pom
|
||||
|
||||
%post
|
||||
%update_maven_depmap
|
||||
|
||||
%postun
|
||||
%update_maven_depmap
|
||||
|
||||
%files
|
||||
%doc LICENSE NOTICE
|
||||
%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%{_mavendepmapfragdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Nov 2 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 20-4
|
||||
- Add missing BR/R: apache-parent
|
||||
- Update to current packaging guidelines
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user