Merge modular branch

This commit is contained in:
Mikolaj Izdebski 2021-05-13 17:27:21 +02:00
commit 4dbc0a3837
2 changed files with 38 additions and 16 deletions

4
.gitignore vendored
View File

@ -16,4 +16,8 @@
/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-48.tar.gz
/commons-parent-49.tar.gz
/commons-parent-50.tar.gz
/commons-parent-51.tar.gz
/commons-parent-52.tar.gz /commons-parent-52.tar.gz

View File

@ -1,39 +1,41 @@
%global srcname commons-parent %bcond_without bootstrap
Name: apache-commons-parent Name: apache-commons-parent
Version: 52 Version: 52
Release: 2%{?dist} Release: 2%{?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
%global upstream_version rel/%{srcname}-%{version} Source0: https://github.com/apache/commons-parent/archive/rel/commons-parent-%{version}.tar.gz
%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: mvn(biz.aQute.bnd:biz.aQute.bndlib) %if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
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.apache:apache:pom:)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
%endif
# Not generated automatically # Not generated automatically
%if %{without bootstrap}
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
%endif
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 %{upstream_archive} %setup -q -n commons-parent-rel-commons-parent-%{version}
# Plugin is not in fedora # Plugin is not in fedora
%pom_remove_plugin :commons-build-plugin %pom_remove_plugin org.apache.commons:commons-build-plugin
%pom_remove_plugin :maven-scm-publish-plugin %pom_remove_plugin org.apache.maven.plugins: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
@ -47,20 +49,16 @@ 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
%mvn_build %mvn_build
%install %install
%mvn_install %mvn_install
%files -f .mfiles %files -f .mfiles
%doc README.md RELEASE-NOTES.txt %doc README.md RELEASE-NOTES.txt
%license LICENSE.txt NOTICE.txt %license LICENSE.txt NOTICE.txt
%changelog %changelog
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 52-2 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 52-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
@ -68,18 +66,39 @@ done
* Tue Sep 01 2020 Fabio Valentini <decathorpe@gmail.com> - 52-1 * Tue Sep 01 2020 Fabio Valentini <decathorpe@gmail.com> - 52-1
- Update to version 52. - Update to version 52.
* Fri Aug 21 2020 Marian Koncek <mkoncek@redhat.com> - 52-1
- Update to upstream version 52
* Tue Jul 28 2020 Marian Koncek <mkoncek@redhat.com> - 51-1
- Update to upstream version 51
* 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
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 47-5 * Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 47-5
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Wed Jan 29 2020 Marian Koncek <mkoncek@redhat.com> - 50-1
- Update to upstream version 50
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 47-4 * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 47-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 49-2
- Mass rebuild for javapackages-tools 201902
* Wed Sep 18 2019 Marian Koncek <mkoncek@redhat.com> - 49-1
- Update to upstream version 49
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 47-3 * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 47-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 48-2
- Mass rebuild for javapackages-tools 201901
* Fri May 03 2019 Marian Koncek <mkoncek@redhat.com> - 48-1
- Update to upstream version 48
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 47-2 * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 47-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
@ -202,4 +221,3 @@ done
* 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