diff --git a/apache-commons-beanutils.changes b/apache-commons-beanutils.changes
index 96b0e56..14a65e4 100644
--- a/apache-commons-beanutils.changes
+++ b/apache-commons-beanutils.changes
@@ -1,3 +1,12 @@
+-------------------------------------------------------------------
+Tue May 15 06:03:11 UTC 2018 - fstrba@suse.com
+
+- Modified patch:
+ * jdk9.patch
+ + Build with source and target 8 to prepare for a possible
+ removal of 1.6 compatibility
+- Run fdupes on documentation
+
-------------------------------------------------------------------
Thu Sep 14 09:25:26 UTC 2017 - fstrba@suse.com
diff --git a/apache-commons-beanutils.spec b/apache-commons-beanutils.spec
index 14ce637..0d3b42a 100644
--- a/apache-commons-beanutils.spec
+++ b/apache-commons-beanutils.spec
@@ -1,7 +1,7 @@
#
# spec file for package apache-commons-beanutils
#
-# 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
@@ -30,6 +30,7 @@ Patch0: jdk9.patch
BuildRequires: ant
BuildRequires: commons-collections
BuildRequires: commons-logging
+BuildRequires: fdupes
BuildRequires: xml-commons-apis
Requires: commons-collections >= 2.0
Requires: commons-logging >= 1.0
@@ -87,6 +88,7 @@ install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
# javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}
+%fdupes -s %{buildroot}%{_javadocdir}/%{name}
%files
%defattr(0644,root,root,0755)
diff --git a/jdk9.patch b/jdk9.patch
index 661781c..acd5bc0 100644
--- a/jdk9.patch
+++ b/jdk9.patch
@@ -5,11 +5,11 @@
-
-+
++
-
-+
++