Compare commits

...

No commits in common. "c8s-stream-201801" and "c8-stream-3.6" have entirely different histories.

2 changed files with 18 additions and 7 deletions

View File

@ -6,8 +6,8 @@
# 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 \
+javac -source 1.6 -target 1.6 -g -d build/classes `find src -name *.java`
+javac -source 1.6 -target 1.6 -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/'>\

View File

@ -1,6 +1,6 @@
Name: atinject
Version: 1
Release: 28.20100611svn86%{?dist}
Release: 31.20100611svn86%{?dist}
Summary: Dependency injection specification for Java (JSR-330)
License: ASL 2.0
URL: http://code.google.com/p/atinject/
@ -18,11 +18,11 @@ Source1: MANIFEST.MF
Source2: MANIFEST-TCK.MF
Source3: http://www.apache.org/licenses/LICENSE-2.0.txt
# Compile with source/target 1.5
Patch0: %{name}-target-1.5.patch
# Compile with source/target 1.6
Patch0: %{name}-target-1.6.patch
BuildRequires: javapackages-local
BuildRequires: java-devel
BuildRequires: java-1.8.0-openjdk-devel
BuildRequires: junit
%description
@ -40,6 +40,7 @@ Requires: junit
%description tck
%{summary}.
%{?module_package}
%{?javadoc_package}
%prep
@ -65,6 +66,7 @@ set -e
alias rm=:
alias xargs=:
alias javadoc='javadoc -Xdoclint:none'
export PATH="%{_jvmlibdir}/java-1.8.0-openjdk/bin:${PATH}"
. ./build.sh
# Inject OSGi manifests required by Eclipse.
@ -79,12 +81,21 @@ mv build/tck/javadoc build/javadoc/tck
%install
%mvn_install -J build/javadoc
%files -f .mfiles
%files -n %{?module_prefix}%{name} -f .mfiles
%license LICENSE
%files tck -f .mfiles-tck
%changelog
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-31.20100611svn86
- Build with OpenJDK 8
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-30.20100611svn86
- Mass rebuild for javapackages-tools 201902
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-29.20100611svn86
- Mass rebuild for javapackages-tools 201901
* Wed Apr 18 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1-28.20100611svn86
- Remove javax.inject Provides