[apache-parent] Make sure we generate 1.5 version bytecode
Stanislav Ochotnicky
sochotni at fedoraproject.org
Thu Jul 26 16:21:13 UTC 2012
commit b32264d2d4a9edbc62f412591535eaa0b373321a
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date: Thu Jul 26 18:15:32 2012 +0200
Make sure we generate 1.5 version bytecode
This simplifies work with child projects that can use generics
apache-parent.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/apache-parent.spec b/apache-parent.spec
index 1a12dc9..79cdcbc 100644
--- a/apache-parent.spec
+++ b/apache-parent.spec
@@ -1,6 +1,6 @@
Name: apache-parent
Version: 10
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Parent pom file for Apache projects
Group: Development/Libraries
License: ASL 2.0
@@ -16,6 +16,12 @@ 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
@@ -33,6 +39,9 @@ install -pm 644 %{SOURCE0} \
%{_mavendepmapfragdir}/%{name}
%changelog
+* Thu Jul 26 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 10-5
+- Make sure we generate 1.5 version bytecode
+
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list