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:
commit
8845501bf3
@ -39,7 +39,7 @@
|
|||||||
<target name="compile" description="o Compile the code" depends="get-deps">
|
<target name="compile" description="o Compile the code" depends="get-deps">
|
||||||
<mkdir dir="${classesdir}">
|
<mkdir dir="${classesdir}">
|
||||||
</mkdir>
|
</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>
|
<src>
|
||||||
<pathelement location="src/java">
|
<pathelement location="src/java">
|
||||||
</pathelement>
|
</pathelement>
|
||||||
@ -98,7 +98,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="title" value="Java Portlet API 1.0 API">
|
<property name="title" value="Java Portlet API 1.0 API">
|
||||||
</property>
|
</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>
|
<classpath>
|
||||||
<path refid="build.classpath">
|
<path refid="build.classpath">
|
||||||
</path>
|
</path>
|
||||||
|
@ -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
|
Fri Sep 15 07:33:39 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package apache-portlet-1_0-api
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source2: apache-portlet-1.0-api-LICENSE.TXT
|
||||||
Source3: apache-portlet-1.0-api-build.xml
|
Source3: apache-portlet-1.0-api-build.xml
|
||||||
BuildRequires: ant >= 1.6
|
BuildRequires: ant >= 1.6
|
||||||
BuildRequires: java-devel >= 1.4
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
Provides: portlet = %{version}
|
Provides: portlet = %{version}
|
||||||
@ -79,6 +80,7 @@ install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
|
|||||||
cp -pr target/site/apidocs/* \
|
cp -pr target/site/apidocs/* \
|
||||||
%{buildroot}%{_javadocdir}/%{name}-%{version}
|
%{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||||
ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
|
ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
|
||||||
install -d -m 755 %{buildroot}%{_docdir}/%{name}-%{version}
|
install -d -m 755 %{buildroot}%{_docdir}/%{name}-%{version}
|
||||||
cp %{SOURCE2} %{buildroot}%{_docdir}/%{name}-%{version}/LICENSE.TXT
|
cp %{SOURCE2} %{buildroot}%{_docdir}/%{name}-%{version}/LICENSE.TXT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user