Update to latest upstream.
This commit is contained in:
parent
db0a21ef30
commit
1a4f1e0aba
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/commons-parent-15.tar.xz
|
/commons-parent-15.tar.xz
|
||||||
/commons-parent-20.tar.xz
|
/commons-parent-20.tar.xz
|
||||||
|
commons-parent-22.tar.xz
|
||||||
|
@ -2,20 +2,19 @@
|
|||||||
%global short_name commons-%{base_name}
|
%global short_name commons-%{base_name}
|
||||||
|
|
||||||
Name: apache-%{short_name}
|
Name: apache-%{short_name}
|
||||||
Version: 20
|
Version: 22
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Apache Commons Parent Pom
|
Summary: Apache Commons Parent Pom
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://svn.apache.org/repos/asf/commons/proper/%{short_name}/tags/%{short_name}-%{version}/
|
URL: http://svn.apache.org/repos/asf/commons/proper/%{short_name}/tags/%{short_name}-%{version}/
|
||||||
|
|
||||||
# svn export http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-20
|
# svn export http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-22
|
||||||
# tar caf commons-parent-20.tar.xz commons-parent-20
|
# tar caf commons-parent-22.tar.xz commons-parent-22
|
||||||
Source0: %{short_name}-%{version}.tar.xz
|
Source0: %{short_name}-%{version}.tar.xz
|
||||||
|
|
||||||
#common-build-plugin not in fedora yet
|
#common-build-plugin not in fedora yet
|
||||||
Patch1: %{name}-remove-build-plugin.patch
|
Patch1: %{name}-remove-build-plugin.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: java-devel >= 1:1.6.0
|
BuildRequires: java-devel >= 1:1.6.0
|
||||||
@ -33,8 +32,6 @@ Requires: maven-javadoc-plugin
|
|||||||
Requires: maven-plugin-bundle
|
Requires: maven-plugin-bundle
|
||||||
Requires: maven-resources-plugin
|
Requires: maven-resources-plugin
|
||||||
Requires: maven-surefire-plugin
|
Requires: maven-surefire-plugin
|
||||||
Requires(post): jpackage-utils
|
|
||||||
Requires(postun): jpackage-utils
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -48,30 +45,21 @@ The Project Object Model files for the apache-commons packages.
|
|||||||
#nothing to do for the pom
|
#nothing to do for the pom
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%add_to_maven_depmap org.apache.commons %{short_name} %{version} JPP %{short_name}
|
|
||||||
|
|
||||||
# poms
|
# poms
|
||||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||||
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
|
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
|
||||||
|
|
||||||
%post
|
%add_maven_depmap JPP-%{short_name}.pom
|
||||||
%update_maven_depmap
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%update_maven_depmap
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc LICENSE.txt NOTICE.txt
|
%doc LICENSE.txt NOTICE.txt
|
||||||
%{_mavenpomdir}/*
|
%{_mavenpomdir}/*
|
||||||
%{_mavendepmapfragdir}/*
|
%{_mavendepmapfragdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 7 2011 Alexander Kurtakov <akurtako@redhat.com> 22-1
|
||||||
|
- Update to latest upstream.
|
||||||
|
|
||||||
* Fri Apr 15 2011 Chris Spike <spike@fedoraproject.org> 20-1
|
* Fri Apr 15 2011 Chris Spike <spike@fedoraproject.org> 20-1
|
||||||
- Updated to 20
|
- Updated to 20
|
||||||
- Fixed Rs for maven 3
|
- Fixed Rs for maven 3
|
||||||
|
Loading…
Reference in New Issue
Block a user