update to version 52

This commit is contained in:
Fabio Valentini 2020-09-01 21:47:36 +02:00
parent 7eefb7b1b4
commit efd7947c7b
3 changed files with 30 additions and 15 deletions

6
.gitignore vendored
View File

@ -1,6 +1,9 @@
/results_*
/*.src.rpm
/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 /commons-parent-22.tar.xz
/commons-parent-26.tar.xz /commons-parent-26.tar.xz
/commons-parent-32.tar.xz /commons-parent-32.tar.xz
/commons-parent-33.tar.xz /commons-parent-33.tar.xz
@ -13,3 +16,4 @@ commons-parent-22.tar.xz
/commons-parent-42.tar.xz /commons-parent-42.tar.xz
/commons-parent-43-src.zip /commons-parent-43-src.zip
/commons-parent-47.tar.gz /commons-parent-47.tar.gz
/commons-parent-52.tar.gz

View File

@ -1,34 +1,39 @@
%global srcname commons-parent
Name: apache-commons-parent Name: apache-commons-parent
Version: 47 Version: 52
Release: 6%{?dist} Release: 1%{?dist}
Summary: Apache Commons Parent Pom Summary: Apache Commons Parent Pom
License: ASL 2.0 License: ASL 2.0
URL: https://commons.apache.org/commons-parent-pom.html
BuildArch: noarch BuildArch: noarch
Source0: https://github.com/apache/commons-parent/archive/commons-parent-%{version}.tar.gz %global upstream_version rel/%{srcname}-%{version}
%global upstream_archive %{srcname}-rel-%{srcname}-%{version}
URL: https://commons.apache.org/commons-parent-pom.html
Source0: https://github.com/apache/%{srcname}/archive/%{upstream_version}/%{srcname}-%{version}.tar.gz
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: java-11-openjdk-devel BuildRequires: mvn(biz.aQute.bnd:biz.aQute.bndlib)
BuildRequires: mvn(org.apache:apache:pom:)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
BuildRequires: mvn(org.apache:apache:pom:)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
# Not generated automatically # Not generated automatically
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
Requires: mvn(org.codehaus.mojo:build-helper-maven-plugin) Requires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
%description %description
The Project Object Model files for the apache-commons packages. The Project Object Model files for the apache-commons packages.
%prep %prep
%setup -q -n commons-parent-commons-parent-%{version} %setup -q -n %{upstream_archive}
# Plugin is not in fedora # Plugin is not in fedora
%pom_remove_plugin org.apache.commons:commons-build-plugin %pom_remove_plugin :commons-build-plugin
%pom_remove_plugin org.apache.maven.plugins:maven-scm-publish-plugin %pom_remove_plugin :maven-scm-publish-plugin
# Plugins useless in package builds # Plugins useless in package builds
%pom_remove_plugin :apache-rat-plugin %pom_remove_plugin :apache-rat-plugin
@ -42,19 +47,24 @@ for profile in animal-sniffer japicmp jacoco cobertura clirr; do
%pom_xpath_remove "pom:profile[pom:id='$profile']" %pom_xpath_remove "pom:profile[pom:id='$profile']"
done done
%build %build
export JAVA_HOME=/usr/lib/jvm/java-11
%mvn_build %mvn_build
%install %install
export JAVA_HOME=/usr/lib/jvm/java-11
%mvn_install %mvn_install
%files -f .mfiles %files -f .mfiles
%doc RELEASE-NOTES.txt %doc README.md RELEASE-NOTES.txt
%license LICENSE.txt NOTICE.txt %license LICENSE.txt NOTICE.txt
%changelog %changelog
* Tue Sep 01 2020 Fabio Valentini <decathorpe@gmail.com> - 52-1
- Update to version 52.
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 47-6 * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 47-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
@ -189,3 +199,4 @@ export JAVA_HOME=/usr/lib/jvm/java-11
* Wed Oct 20 2010 Chris Spike <spike@fedoraproject.org> 15-1 * Wed Oct 20 2010 Chris Spike <spike@fedoraproject.org> 15-1
- Initial version of the package - Initial version of the package

View File

@ -1 +1 @@
SHA512 (commons-parent-47.tar.gz) = 4982b5dd80658c79a985f62779025ee419e4fd5f6b1bc272a02b122c72e6f8f74e30267fe191c85ea03cf20c60f544157c39fe83297c3b11735f73ef33b648d7 SHA512 (commons-parent-52.tar.gz) = d7ff5082c29f6d0297a11098b5df10811e83041bfbd9f0afba78b09d25e4446d604f3f2f29383ae2ed066d0e7d3f4b1a11ce0eb9443e84274d815e36ebff3b97