apache-parent/apache-parent.spec
Stanislav Ochotnicky b32264d2d4 Make sure we generate 1.5 version bytecode
This simplifies work with child projects that can use generics
2012-07-26 18:20:44 +02:00

56 lines
1.5 KiB
RPMSpec

Name: apache-parent
Version: 10
Release: 5%{?dist}
Summary: Parent pom file for Apache projects
Group: Development/Libraries
License: ASL 2.0
URL: http://apache.org/
Source0: http://svn.apache.org/repos/asf/maven/pom/tags/apache-10/pom.xml
BuildArch: noarch
BuildRequires: jpackage-utils
Requires: jpackage-utils
%description
This package contains the parent pom file for apache projects.
%prep
%setup -n %{name}-%{version} -Tc
# This simplifies work with child projects that can use generics
cp %{SOURCE0} .
sed -i 's:<source>1.4</source>:<source>1.5</source>:' pom.xml
sed -i 's:<target>1.4</target>:<target>1.5</target>:' pom.xml
%build
%install
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
install -pm 644 %{SOURCE0} \
$RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom
%files
%{_mavenpomdir}/JPP-%{name}.pom
%{_mavendepmapfragdir}/%{name}
%changelog
* Thu Jul 26 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 10-5
- Make sure we generate 1.5 version bytecode
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Sep 13 2011 Andy Grimm <agrimm@gmail.com> 10-2
- Follow suggestions in BZ #736069
* Mon Aug 29 2011 Andy Grimm <agrimm@gmail.com> 10-1
- Initial Build