Changing target from jsr14 to 1.5 (#842593)

This commit is contained in:
Jaromir Capik 2013-01-03 17:15:18 +01:00
parent d4fdbbb42f
commit 59501f6630
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -Naur org.apache.felix.utils-1.1.0.orig/pom.xml org.apache.felix.utils-1.1.0/pom.xml
--- org.apache.felix.utils-1.1.0.orig/pom.xml 2010-11-03 22:46:40.000000000 +0100
+++ org.apache.felix.utils-1.1.0/pom.xml 2013-01-03 17:07:27.368682784 +0100
@@ -46,7 +46,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
- <target>jsr14</target>
+ <target>1.5</target>
</configuration>
</plugin>
<plugin>

View File

@ -3,7 +3,7 @@
Name: felix-utils
Version: 1.1.0
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Utility classes for OSGi
License: ASL 2.0
Group: Development/Libraries
@ -11,6 +11,8 @@ URL: http://felix.apache.org
Source0: http://www.fightrice.com/mirrors/apache/felix/%{site_name}-%{version}-project.tar.gz
Patch0: felix-utils-changing-target-from-jsr14-to-1.5.patch
BuildArch: noarch
BuildRequires: java-devel
@ -38,6 +40,8 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n %{site_name}-%{version}
%patch0 -p1
%build
# one of the tests fails in mock (local build is ok)
mvn-rpmbuild install javadoc:aggregate -Dmaven.test.failure.ignore=true
@ -66,6 +70,9 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%doc %{_javadocdir}/%{name}
%changelog
* Thu Jan 03 2013 Jaromir Capik <jcapik@redhat.com> - 1.1.0-7
- Changing target from jsr14 to 1.5 (#842593)
* Tue Sep 4 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.0-6
- Install NOTICE with javadoc pakcage