--- /dev/null
+diff -urN commons-daemon-1.1.0-src.org/build.xml commons-daemon-1.1.0-src/build.xml
+--- commons-daemon-1.1.0-src.org/build.xml 2017-07-08 04:37:29.000000000 +0200
++++ commons-daemon-1.1.0-src/build.xml 2021-11-25 06:57:27.769976730 +0100
+@@ -93,10 +93,10 @@
+
+
+ <!-- compiler source JDK version -->
+- <property name="compile.source" value="1.5"/>
++ <property name="compile.source" value="1.6"/>
+
+ <!-- compiler target JDK version -->
+- <property name="compile.target" value="1.5"/>
++ <property name="compile.target" value="1.6"/>
+
+ <!-- Should Java compilations set the 'debug' compiler option? -->
+ <property name="compile.debug" value="true"/>
Summary(pl.UTF-8): Commons Daemon - kontrolowanie demonów w Javie
Name: java-commons-daemon
Version: 1.1.0
-Release: 1
+Release: 2
License: Apache v2.0
Group: Libraries/Java
# -Source0: http://www.apache.org/dist/commons/daemon/source/commons-daemon-%{version}-src.tar.gz
Source0: https://archive.apache.org/dist/commons/daemon/source/commons-daemon-%{version}-src.tar.gz
# Source0-md5: e5a08e844412147a61a7ef9a19f39978
+Patch0: build.patch
URL: http://commons.apache.org/daemon/
BuildRequires: ant >= 1.4.1
BuildRequires: automake
%prep
%setup -q -n %{srcname}-%{version}-src
+%patch0 -p1
%build
# Java part