%global srcname commons-parent Name: apache-commons-parent Version: 52 Release: %mkrel 1 Summary: Apache Commons Parent Pom Group: Development/Java License: ASL 2.0 BuildArch: noarch %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: mvn(biz.aQute.bnd:biz.aQute.bndlib) BuildRequires: mvn(org.apache.felix:maven-bundle-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) # Not generated automatically BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) Requires: mvn(org.codehaus.mojo:build-helper-maven-plugin) %description The Project Object Model files for the apache-commons packages. %prep %setup -q -n %{upstream_archive} # Plugin is not in fedora %pom_remove_plugin :commons-build-plugin %pom_remove_plugin :maven-scm-publish-plugin # Plugins useless in package builds %pom_remove_plugin :apache-rat-plugin %pom_remove_plugin :buildnumber-maven-plugin %pom_remove_plugin :maven-enforcer-plugin %pom_remove_plugin :maven-site-plugin %pom_remove_plugin :maven-source-plugin # Remove profiles for plugins that are useless in package builds for profile in animal-sniffer japicmp jacoco cobertura clirr; do %pom_xpath_remove "pom:profile[pom:id='$profile']" done %build %mvn_build %install %mvn_install %files -f .mfiles %doc README.md RELEASE-NOTES.txt %license LICENSE.txt NOTICE.txt %changelog * Fri Sep 11 2020 daviddavid <daviddavid> 52-1.mga8 + Revision: 1624351 - Update to version 52 * Sun Aug 23 2020 neoclust <neoclust> 47-3.mga8 + Revision: 1618238 - Rebuild against java11 * Sat Feb 15 2020 umeabot <umeabot> 47-2.mga8 + Revision: 1527498 - Mageia 8 Mass Rebuild * Wed Jul 17 2019 daviddavid <daviddavid> 47-1.mga8 + Revision: 1422179 - Update to upstream version 47 * Tue Dec 11 2018 neoclust <neoclust> 43-2.mga7 + Revision: 1340334 - Revert to version 43 * Sun Nov 18 2018 guillomovitch <guillomovitch> 47-1.mga7 + Revision: 1330784 - new version 47 * Thu Sep 20 2018 daviddavid <daviddavid> 43-1.mga7 + Revision: 1287892 - Update to upstream version 43 (sync with fc29) * Thu Sep 20 2018 umeabot <umeabot> 39-5.mga7 + Revision: 1277593 - Mageia 7 Mass Rebuild * Wed May 17 2017 neoclust <neoclust> 39-4.mga6 + Revision: 1102563 - Rebuild against new apache-parent * Wed Mar 02 2016 neoclust <neoclust> 39-3.mga6 + Revision: 982486 - Second rebuild of the java stack * Sun Feb 21 2016 neoclust <neoclust> 39-2.mga6 + Revision: 975425 - First rebuild of the java stack * Sat Dec 19 2015 zezinho <zezinho> 39-1.mga6 + Revision: 912250 - new version 39 * Thu Dec 25 2014 pterjan <pterjan> 34-5.mga5 + Revision: 805562 - Clean rebuild - Sync with Fedora 21 + dmorgan <dmorgan> - Restore from Obsolete + sander85 <sander85> - Depends on broken java stack * Wed Oct 15 2014 umeabot <umeabot> 32-4.mga5 + Revision: 749592 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 32-3.mga5 + Revision: 677821 - Mageia 5 Mass Rebuild - Mageia 4 Mass Rebuild * Sun Sep 29 2013 dmorgan <dmorgan> 32-1.mga4 + Revision: 489000 - New version - New version + umeabot <umeabot> - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Apr 27 2011 dmorgan <dmorgan> 20-2.mga3 + Revision: 92245 - Rebuild after bootstrapping - imported package apache-commons-parent * Fri Apr 15 2011 Chris Spike <spike@fedoraproject.org> 20-1 - Updated to 20 - Fixed Rs for maven 3 * Sat Nov 6 2010 Chris Spike <spike@fedoraproject.org> 15-2 - Added patch to remove commons-build-plugin from pom file * Wed Oct 20 2010 Chris Spike <spike@fedoraproject.org> 15-1 - Initial version of the package