Blame SPECS/apache-commons-parent.spec

64603f
%{?scl:%scl_package apache-%{short_name}}
64603f
%{!?scl:%global pkg_name %{name}}
64603f
64603f
%global short_name      commons-parent
64603f
64603f
Name:             %{?scl_prefix}apache-%{short_name}
64603f
Version:          42
64603f
Release:          3.2%{?dist}
64603f
Summary:          Apache Commons Parent Pom
64603f
License:          ASL 2.0
64603f
URL:              http://svn.apache.org/repos/asf/commons/proper/%{short_name}/tags/%{short_name}-%{version}/
64603f
64603f
# svn export http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-%{version}
64603f
# tar caf commons-parent-%{version}.tar.xz commons-parent-%{version}
64603f
Source0:          %{short_name}-%{version}.tar.xz
64603f
64603f
BuildArch:        noarch
64603f
64603f
BuildRequires:    %{?scl_prefix}maven-local
64603f
BuildRequires:    %{?scl_prefix}mvn(org.apache:apache:pom:)
64603f
BuildRequires:    %{?scl_prefix}mvn(org.apache.felix:maven-bundle-plugin)
64603f
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven.plugins:maven-antrun-plugin)
64603f
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven.plugins:maven-assembly-plugin)
64603f
BuildRequires:    %{?scl_prefix}mvn(org.codehaus.mojo:build-helper-maven-plugin)
64603f
64603f
Requires:         %{?scl_prefix}mvn(org.codehaus.mojo:build-helper-maven-plugin)
64603f
64603f
%description
64603f
The Project Object Model files for the apache-commons packages.
64603f
64603f
%prep
64603f
%setup -q -n %{short_name}-%{version}
64603f
64603f
# Plugin is not in fedora
64603f
%pom_remove_plugin org.apache.commons:commons-build-plugin
64603f
%pom_remove_plugin org.apache.maven.plugins:maven-scm-publish-plugin
64603f
64603f
# Plugins useless in package builds
64603f
%pom_remove_plugin :apache-rat-plugin
64603f
%pom_remove_plugin :buildnumber-maven-plugin
64603f
%pom_remove_plugin :maven-enforcer-plugin
64603f
%pom_remove_plugin :maven-site-plugin
64603f
64603f
# Remove profiles for plugins that are useless in package builds
64603f
for profile in animal-sniffer japicmp jacoco cobertura clirr; do
64603f
    %pom_xpath_remove "pom:profile[pom:id='$profile']"
64603f
done
64603f
64603f
%build
64603f
%mvn_build
64603f
64603f
%install
64603f
%mvn_install
64603f
64603f
%files -f .mfiles
64603f
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
64603f
64603f
%changelog
64603f
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 42-3.2
64603f
- Mass rebuild 2017-06-22
64603f
64603f
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 42-3.1
64603f
- Automated package import and SCL-ization
64603f
64603f
* Mon Feb 06 2017 Michael Simacek <msimacek@redhat.com> - 42-3
64603f
- Remove more useless plugins
64603f
64603f
* Thu Jan 05 2017 Michael Simacek <msimacek@redhat.com> - 42-2
64603f
- Remove profiles for plugins that are useless in package builds
64603f
64603f
* Mon Jan 02 2017 Michael Simacek <msimacek@redhat.com> - 42-1
64603f
- Update to upstream version 42
64603f
64603f
* Tue Jun 14 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 40-2
64603f
- Add missing dependency
64603f
64603f
* Wed May 11 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 40-1
64603f
- Update to upstream version 40
64603f
64603f
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 39-2
64603f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
64603f
64603f
* Tue Sep  8 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 39-1
64603f
- Update to upstream version 39
64603f
64603f
* Thu Jun 25 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 38-1
64603f
- Update to upstream version 38
64603f
64603f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 37-3
64603f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
64603f
64603f
* Tue Feb  3 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 37-2
64603f
- Remove animal-sniffer profile
64603f
64603f
* Mon Feb  2 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 37-1
64603f
- Update to upstream version 37
64603f
64603f
* Mon Oct 27 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 35-1
64603f
- Update to upstream version 35
64603f
64603f
* Wed Jul 30 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 34-4
64603f
- Fix build-requires on apache-parent
64603f
64603f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 34-3
64603f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
64603f
64603f
* Wed May 28 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 34-2
64603f
- Rebuild to regenerate Maven auto-requires
64603f
64603f
* Thu Apr 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 34-1
64603f
- Update to upstream version 34
64603f
64603f
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 33-2
64603f
- Remove maven 3 profile
64603f
64603f
* Wed Feb 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 33-1
64603f
- Update to upstream version 33
64603f
64603f
* Tue Aug 06 2013 Mat Booth <fedora@matbooth.co.uk> - 32-2
64603f
- Remove use of maven-scm-publish-plugin plugin
64603f
64603f
* Tue Aug 06 2013 Mat Booth <fedora@matbooth.co.uk> - 32-1
64603f
- Updated to latest upstream, rhbz #904731
64603f
64603f
* Tue Aug 06 2013 Mat Booth <fedora@matbooth.co.uk> - 26-7
64603f
- Use pom macros instead of patching
64603f
- Update spec for latest guidelines rhbz #991975
64603f
64603f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 26-6
64603f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
64603f
64603f
* Mon Apr 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-5
64603f
- Add buildnumber-maven-plugin to R/BR
64603f
64603f
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-4
64603f
- Fix Requires and BuildRequires
64603f
64603f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 26-3
64603f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
64603f
64603f
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 26-2
64603f
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
64603f
- Replace maven BuildRequires with maven-local
64603f
64603f
* Fri Oct 19 2012 Chris Spike <spike@fedoraproject.org> 22-4
64603f
- Updated to 26
64603f
64603f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-4
64603f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
64603f
64603f
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-3
64603f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
64603f
64603f
* Wed Dec 14 2011 Alexander Kurtakov <akurtako@redhat.com> 22-2
64603f
- Add missing BR/R on buildbumber-maven-plugin.
64603f
64603f
* Wed Dec 7 2011 Alexander Kurtakov <akurtako@redhat.com> 22-1
64603f
- Update to latest upstream.
64603f
64603f
* Fri Apr 15 2011 Chris Spike <spike@fedoraproject.org> 20-1
64603f
- Updated to 20
64603f
- Fixed Rs for maven 3
64603f
64603f
* Sat Nov 6 2010 Chris Spike <spike@fedoraproject.org> 15-2
64603f
- Added patch to remove commons-build-plugin from pom file
64603f
64603f
* Wed Oct 20 2010 Chris Spike <spike@fedoraproject.org> 15-1
64603f
- Initial version of the package