Blame SPECS/apache-parent.spec

0b3f5c
%global pkg_name apache-parent
0b3f5c
%{?scl:%scl_package %{pkg_name}}
0b3f5c
%{?maven_find_provides_and_requires}
0b3f5c
0b3f5c
Name:           %{?scl_prefix}%{pkg_name}
0b3f5c
Version:        10
0b3f5c
Release:        14.16%{?dist}
0b3f5c
Summary:        Parent pom file for Apache projects
0b3f5c
License:        ASL 2.0
0b3f5c
URL:            http://apache.org/
0b3f5c
Source0:        http://svn.apache.org/repos/asf/maven/pom/tags/apache-10/pom.xml
0b3f5c
Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
0b3f5c
BuildArch:      noarch
0b3f5c
0b3f5c
BuildRequires:  %{?scl_prefix}maven-local
0b3f5c
BuildRequires:  %{?scl_prefix_java_common}javapackages-tools
0b3f5c
BuildRequires:  %{?scl_prefix}apache-resource-bundles
0b3f5c
BuildRequires:  %{?scl_prefix}maven-remote-resources-plugin
0b3f5c
BuildRequires:  %{?scl_prefix}maven-site-plugin
0b3f5c
0b3f5c
Requires:       %{?scl_prefix}apache-resource-bundles
0b3f5c
Requires:       %{?scl_prefix}maven-site-plugin
0b3f5c
0b3f5c
%description
0b3f5c
This package contains the parent pom file for apache projects.
0b3f5c
0b3f5c
0b3f5c
%prep
0b3f5c
%setup -n %{pkg_name}-%{version} -Tc
0b3f5c
%{?scl:scl enable %{scl} - <<"EOF"}
0b3f5c
set -e -x
0b3f5c
0b3f5c
# This simplifies work with child projects that can use generics and diamond operators
0b3f5c
cp %{SOURCE0} .
0b3f5c
sed -i 's:<source>1.4</source>:<source>1.7</source>:' pom.xml
0b3f5c
sed -i 's:<target>1.4</target>:<target>1.7</target>:' pom.xml
0b3f5c
0b3f5c
%pom_remove_plugin :maven-site-plugin
0b3f5c
0b3f5c
cp %{SOURCE1} LICENSE
0b3f5c
%{?scl:EOF}
0b3f5c
0b3f5c
%build
0b3f5c
%{?scl:scl enable %{scl} - <<"EOF"}
0b3f5c
set -e -x
0b3f5c
%mvn_build
0b3f5c
%{?scl:EOF}
0b3f5c
0b3f5c
%install
0b3f5c
%{?scl:scl enable %{scl} - <<"EOF"}
0b3f5c
set -e -x
0b3f5c
%mvn_install
0b3f5c
%{?scl:EOF}
0b3f5c
0b3f5c
%files -f .mfiles
0b3f5c
%dir %{_mavenpomdir}/%{pkg_name}
0b3f5c
%doc LICENSE
0b3f5c
0b3f5c
%changelog
0b3f5c
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 10-14.16
0b3f5c
- Fix BR on maven-local & co.
0b3f5c
0b3f5c
* Wed Jan 13 2016 Michal Srb <msrb@redhat.com> - 10-14.15
0b3f5c
- Bump source/target to 1.7
0b3f5c
0b3f5c
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 10-14.14
0b3f5c
- maven33 rebuild #2
0b3f5c
0b3f5c
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 10-14.13
0b3f5c
- maven33 rebuild
0b3f5c
0b3f5c
* Thu Jan 15 2015 Michal Srb <msrb@redhat.com> - 10-14.12
0b3f5c
- Fix directory ownership
0b3f5c
0b3f5c
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 10-14.11
0b3f5c
- Mass rebuild 2015-01-13
0b3f5c
0b3f5c
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 10-14.10
0b3f5c
- Mass rebuild 2015-01-06
0b3f5c
0b3f5c
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-14.9
0b3f5c
- Mass rebuild 2014-05-26
0b3f5c
0b3f5c
* Fri Mar 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-14.8
0b3f5c
- Remove maven-site-plugin from dependencies
0b3f5c
0b3f5c
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-14.7
0b3f5c
- Mass rebuild 2014-02-19
0b3f5c
0b3f5c
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-14.6
0b3f5c
- Rebuild to get rid of auto-requires on java-devel
0b3f5c
0b3f5c
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-14.5
0b3f5c
- Mass rebuild 2014-02-18
0b3f5c
0b3f5c
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-14.4
0b3f5c
- Add missing BR/R: maven-site-plugin
0b3f5c
0b3f5c
* Fri Feb 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-14.3
0b3f5c
- SCL-ize requires and build-requires
0b3f5c
0b3f5c
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-14.2
0b3f5c
- Rebuild to regenerate auto-requires
0b3f5c
0b3f5c
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-14.1
0b3f5c
- First maven30 software collection build
0b3f5c
0b3f5c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 10-14
0b3f5c
- Mass rebuild 2013-12-27
0b3f5c
0b3f5c
* Thu Dec 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-13
0b3f5c
- Fix a typo in changelog
0b3f5c
0b3f5c
* Thu Aug 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-12
0b3f5c
- Add missing R: apache-resource-bundles
0b3f5c
0b3f5c
* Mon Aug 26 2013 Michal Srb <msrb@redhat.com> - 10-11
0b3f5c
- Migrate away from mvn-rpmbuild (Resolves: #997520)
0b3f5c
0b3f5c
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-10
0b3f5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0b3f5c
0b3f5c
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 10-9
0b3f5c
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
0b3f5c
- Replace maven BuildRequires with maven-local
0b3f5c
0b3f5c
* Tue Dec 18 2012 Michal Srb <msrb@redhat.com> - 10-8
0b3f5c
- Added license (Resolves: #888287)
0b3f5c
0b3f5c
* Wed Nov 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 10-7
0b3f5c
- Install patched pom not the original
0b3f5c
0b3f5c
* Fri Nov  2 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 10-6
0b3f5c
- Add missing R: maven-remote-resources-plugin, apache-resource-bundles
0b3f5c
- Add %%check to verify dependencies during build
0b3f5c
0b3f5c
* Thu Jul 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 10-5
0b3f5c
- Make sure we generate 1.5 version bytecode
0b3f5c
0b3f5c
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-4
0b3f5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0b3f5c
0b3f5c
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-3
0b3f5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0b3f5c
0b3f5c
* Tue Sep 13 2011 Andy Grimm <agrimm@gmail.com> 10-2
0b3f5c
- Follow suggestions in BZ #736069
0b3f5c
0b3f5c
* Mon Aug 29 2011 Andy Grimm <agrimm@gmail.com> 10-1
0b3f5c
- Initial Build