Compile with source/target 1.5
This commit is contained in:
parent
2a7916fcac
commit
a7edf57727
13
atinject-target-1.5.patch
Normal file
13
atinject-target-1.5.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- atinject-1/build.sh~ 2009-10-14 01:36:31.000000000 +0200
|
||||
+++ atinject-1/build.sh 2014-06-09 08:21:06.686274678 +0200
|
||||
@@ -10,8 +10,8 @@
|
||||
mkdir -p build/tck/dist
|
||||
|
||||
# Compile classes.
|
||||
-javac -g -d build/classes `find src -name *.java`
|
||||
-javac -g -classpath build/classes:lib/junit.jar -d build/tck/classes \
|
||||
+javac -source 1.5 -target 1.5 -g -d build/classes `find src -name *.java`
|
||||
+javac -source 1.5 -target 1.5 -g -classpath build/classes:lib/junit.jar -d build/tck/classes \
|
||||
`find tck -name *.java`
|
||||
|
||||
FOOTER="<font size='-1'>Copyright (C) 2009 <a href='http://code.google.com/p/atinject/'>\
|
@ -1,10 +1,11 @@
|
||||
Name: atinject
|
||||
Version: 1
|
||||
Release: 15.20100611svn86%{?dist}
|
||||
Release: 16.20100611svn86%{?dist}
|
||||
Summary: Dependency injection specification for Java (JSR-330)
|
||||
License: ASL 2.0
|
||||
URL: http://code.google.com/p/atinject/
|
||||
BuildArch: noarch
|
||||
|
||||
# latest release doesn't generate javadocs and there is no source
|
||||
# tarball with pom.xml or ant build file
|
||||
#
|
||||
@ -15,6 +16,9 @@ Source0: %{name}-%{version}.tar.xz
|
||||
Source1: MANIFEST.MF
|
||||
Source2: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||
|
||||
# Compile with source/target 1.5
|
||||
Patch0: %{name}-target-1.5.patch
|
||||
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: junit
|
||||
Requires: java-headless
|
||||
@ -42,7 +46,6 @@ Requires: junit
|
||||
%description tck
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
cp %{SOURCE2} LICENSE
|
||||
@ -92,6 +95,9 @@ ln -sf ../%{name}.jar %{buildroot}%{_javadir}/javax.inject/
|
||||
%doc %{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Jun 9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-16.20100611svn86
|
||||
- Compile with source/target 1.5
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1-15.20100611svn86
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user