Accepting request 620779 from Java:packages

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/620779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cal10n?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2018-07-24 15:31:45 +00:00 committed by Git OBS Bridge
commit cb7d72e126
3 changed files with 18 additions and 7 deletions

View File

@ -5,11 +5,11 @@
optimize="false"
deprecation="true"
- target="1.5"
+ target="1.6"
+ target="8"
verbose="false"
fork="false"
- source="1.5">
+ source="1.6">
+ source="8">
<src>
<pathelement location="${maven.build.srcDir.0}"/>
</src>
@ -18,11 +18,11 @@
optimize="false"
deprecation="true"
- target="1.5"
+ target="1.6"
+ target="8"
verbose="false"
fork="false"
- source="1.5">
+ source="1.6">
+ source="8">
<src>
<pathelement location="${maven.build.testDir.0}"/>
</src>
@ -31,7 +31,7 @@
linksource="false"
breakiterator="false">
- <link href="http://java.sun.com/j2se/1.5.0/docs/api"/>
+ <link href="http://java.sun.com/j2se/1.6.0/docs/api"/>
+ <link href="http://java.sun.com/j2se/1.8.0/docs/api"/>
<group title="CAL10N API packages"/>
<group title="CAL10N Maven plugin"/>
</javadoc>

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed May 16 09:00:43 UTC 2018 - fstrba@suse.com
- Modified patch:
* cal10n-0.7.7-sourcetarget.patch
+ Build with source and target 8 to prepare for a possible
removal of 1.6 compatibility
- Run fdupes on documentation
-------------------------------------------------------------------
Thu Sep 7 17:45:17 UTC 2017 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cal10n
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,7 +27,8 @@ Source0: http://cal10n.qos.ch/dist/cal10n-%{version}.tar.gz
Source1: build.xml-0.7.7.tar.xz
Patch0: cal10n-0.7.7-sourcetarget.patch
BuildRequires: ant
BuildRequires: java-devel
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: junit
BuildRequires: xz
Requires: java
@ -95,6 +96,7 @@ install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version}
cp -pr target/site/apidocs*/* %{buildroot}%{_javadocdir}/%{name}-%{version}/
rm -rf target/site/api*
popd
%fdupes -s %{buildroot}%{_javadocdir}/%{name}-%{version}
%files
%defattr(0644,root,root,0755)