Blame SPECS/apache-commons-parent.spec

d87482
%global pkg_name apache-commons-parent
d87482
%{?scl:%scl_package %{pkg_name}}
d87482
%{?maven_find_provides_and_requires}
d87482
d87482
%global base_name       parent
d87482
%global short_name      commons-%{base_name}
d87482
d87482
Name:             %{?scl_prefix}%{pkg_name}
d87482
Version:          26
d87482
Release:          8.13%{?dist}
d87482
Summary:          Apache Commons Parent Pom
d87482
License:          ASL 2.0
d87482
URL:              http://svn.apache.org/repos/asf/commons/proper/%{short_name}/tags/%{short_name}-%{version}/
d87482
d87482
# svn export http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-26
d87482
# tar caf commons-parent-26.tar.xz commons-parent-26
d87482
Source0:          %{short_name}-%{version}.tar.xz
d87482
d87482
#common-build-plugin not in fedora yet
d87482
Patch1:           %{pkg_name}-remove-build-plugin.patch
d87482
BuildArch:        noarch
d87482
d87482
BuildRequires:    %{?scl_prefix}maven-local
d87482
d87482
BuildRequires:    %{?scl_prefix}mvn(org.apache:apache:pom:)
d87482
BuildRequires:    %{?scl_prefix}mvn(org.apache.felix:maven-bundle-plugin)
d87482
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven.plugins:maven-antrun-plugin)
d87482
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven.plugins:maven-compiler-plugin)
d87482
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven.plugins:maven-jar-plugin)
d87482
BuildRequires:    %{?scl_prefix}mvn(org.apache.maven.plugins:maven-surefire-plugin)
d87482
BuildRequires:    %{?scl_prefix}mvn(org.apache.rat:apache-rat-plugin)
d87482
BuildRequires:    %{?scl_prefix}mvn(org.codehaus.mojo:buildnumber-maven-plugin)
d87482
d87482
Requires:         %{?scl_prefix}mvn(org.codehaus.mojo:buildnumber-maven-plugin)
d87482
d87482
d87482
%description
d87482
The Project Object Model files for the apache-commons packages.
d87482
d87482
%prep
d87482
%setup -q -n %{short_name}-%{version}
d87482
%{?scl:scl enable %{scl} - <<"EOF"}
d87482
set -e -x
d87482
%patch1 -p0
d87482
d87482
%pom_xpath_remove "pom:profile[pom:id[text()='maven-3']]"
d87482
%{?scl:EOF}
d87482
d87482
%build
d87482
%{?scl:scl enable %{scl} - <<"EOF"}
d87482
set -e -x
d87482
%mvn_build
d87482
%{?scl:EOF}
d87482
d87482
%install
d87482
%{?scl:scl enable %{scl} - <<"EOF"}
d87482
set -e -x
d87482
%mvn_install
d87482
%{?scl:EOF}
d87482
d87482
%files -f .mfiles
d87482
%dir %{_mavenpomdir}/%{pkg_name}
d87482
%doc LICENSE.txt NOTICE.txt
d87482
d87482
%changelog
d87482
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 26-8.13
d87482
- Fix BR on maven-local & co.
d87482
d87482
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 26-8.12
d87482
- maven33 rebuild #2
d87482
d87482
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 26-8.11
d87482
- maven33 rebuild
d87482
d87482
* Thu Jan 15 2015 Michal Srb <msrb@redhat.com> - 26-8.10
d87482
- Fix directory ownership
d87482
d87482
* Wed Jan 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-8.9
d87482
- Fix BR on apache-parent
d87482
d87482
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 26-8.9
d87482
- Mass rebuild 2015-01-13
d87482
d87482
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 26-8.8
d87482
- Mass rebuild 2015-01-06
d87482
d87482
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-8.7
d87482
- Mass rebuild 2014-05-26
d87482
d87482
* Fri Mar 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-8.6
d87482
- Remove maven 3 profile
d87482
d87482
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-8.5
d87482
- Mass rebuild 2014-02-19
d87482
d87482
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-8.4
d87482
- Mass rebuild 2014-02-18
d87482
d87482
* Fri Feb 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-8.3
d87482
- SCL-ize requires and build-requires
d87482
d87482
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-8.2
d87482
- Rebuild to regenerate auto-requires
d87482
d87482
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-8.1
d87482
- First maven30 software collection build
d87482
d87482
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 26-8
d87482
- Mass rebuild 2013-12-27
d87482
d87482
* Thu Sep 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-7
d87482
- Add missing Requires: buildnumber-maven-plugin
d87482
d87482
* Mon Aug 26 2013 Michal Srb <msrb@redhat.com> - 26-6
d87482
- Migrate away from mvn-rpmbuild (Resolves: #997512)
d87482
d87482
* Mon Apr 15 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-5
d87482
- Add buildnumber-maven-plugin to R/BR
d87482
d87482
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 26-4
d87482
- Fix Requires and BuildRequires
d87482
d87482
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 26-3
d87482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d87482
d87482
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 26-2
d87482
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
d87482
- Replace maven BuildRequires with maven-local
d87482
d87482
* Fri Oct 19 2012 Chris Spike <spike@fedoraproject.org> 22-4
d87482
- Updated to 26
d87482
d87482
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-4
d87482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d87482
d87482
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-3
d87482
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d87482
d87482
* Wed Dec 14 2011 Alexander Kurtakov <akurtako@redhat.com> 22-2
d87482
- Add missing BR/R on buildbumber-maven-plugin.
d87482
d87482
* Wed Dec 7 2011 Alexander Kurtakov <akurtako@redhat.com> 22-1
d87482
- Update to latest upstream.
d87482
d87482
* Fri Apr 15 2011 Chris Spike <spike@fedoraproject.org> 20-1
d87482
- Updated to 20
d87482
- Fixed Rs for maven 3
d87482
d87482
* Sat Nov 6 2010 Chris Spike <spike@fedoraproject.org> 15-2
d87482
- Added patch to remove commons-build-plugin from pom file
d87482
d87482
* Wed Oct 20 2010 Chris Spike <spike@fedoraproject.org> 15-1
d87482
- Initial version of the package