diff --git a/apache-portlet-1.0-api-build.xml b/apache-portlet-1.0-api-build.xml index 182d0cb..8c85b0d 100644 --- a/apache-portlet-1.0-api-build.xml +++ b/apache-portlet-1.0-api-build.xml @@ -39,7 +39,7 @@ - + @@ -98,7 +98,7 @@ - + diff --git a/apache-portlet-1_0-api.changes b/apache-portlet-1_0-api.changes index be68f4f..0ddfae8 100644 --- a/apache-portlet-1_0-api.changes +++ b/apache-portlet-1_0-api.changes @@ -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 diff --git a/apache-portlet-1_0-api.spec b/apache-portlet-1_0-api.spec index b30add9..53b0888 100644 --- a/apache-portlet-1_0-api.spec +++ b/apache-portlet-1_0-api.spec @@ -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