Accepting request 620760 from Java:packages

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/620760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-portlet-1_0-api?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2018-07-07 19:58:37 +00:00 committed by Git OBS Bridge
commit 8845501bf3
3 changed files with 13 additions and 4 deletions

View File

@ -39,7 +39,7 @@
<target name="compile" description="o Compile the code" depends="get-deps">
<mkdir dir="${classesdir}">
</mkdir>
<javac source="1.6" target="1.6" destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
<javac source="8" target="8" destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
<src>
<pathelement location="src/java">
</pathelement>
@ -98,7 +98,7 @@
</property>
<property name="title" value="Java Portlet API 1.0 API">
</property>
<javadoc use="true" private="true" destdir="${javadocdir}" source="1.6" author="true" version="true" sourcepath="src/java" packagenames="javax.portlet.*">
<javadoc use="true" private="true" destdir="${javadocdir}" source="8" author="true" version="true" sourcepath="src/java" packagenames="javax.portlet.*">
<classpath>
<path refid="build.classpath">
</path>

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue May 15 13:36:57 UTC 2018 - fstrba@suse.com
- Build with source and target 8 to prepare for a possible removal
of 1.6 compatibility
- Run fdupes on documentation
-------------------------------------------------------------------
Fri Sep 15 07:33:39 UTC 2017 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package apache-portlet-1_0-api
#
# 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
@ -31,7 +31,8 @@ Source1: apache-portlet-1.0-api-pom.xml
Source2: apache-portlet-1.0-api-LICENSE.TXT
Source3: apache-portlet-1.0-api-build.xml
BuildRequires: ant >= 1.6
BuildRequires: java-devel >= 1.4
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
Provides: portlet = %{version}
@ -79,6 +80,7 @@ install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
cp -pr target/site/apidocs/* \
%{buildroot}%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
install -d -m 755 %{buildroot}%{_docdir}/%{name}-%{version}
cp %{SOURCE2} %{buildroot}%{_docdir}/%{name}-%{version}/LICENSE.TXT