Rel 2; allow building with openjdk11 master auto/th/java-commons-daemon-1.1.0-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 25 Nov 2021 05:58:49 +0000 (06:58 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 25 Nov 2021 05:58:49 +0000 (06:58 +0100)
build.patch [new file with mode: 0644]
java-commons-daemon.spec

diff --git a/build.patch b/build.patch
new file mode 100644 (file)
index 0000000..4722045
--- /dev/null
@@ -0,0 +1,16 @@
+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"/>
index 8c70f3a7596eb34f959d098e682bf3cfbf658288..c4db6037bae5e4aa682f480ff68a85ff34f6d192 100644 (file)
@@ -6,12 +6,13 @@ Summary:      Commons Daemon - controlling of Java daemons
 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
@@ -69,6 +70,7 @@ Dokumentacja do Commons Daemon.
 
 %prep
 %setup -q -n %{srcname}-%{version}-src
+%patch0 -p1
 
 %build
 # Java part
This page took 0.071253 seconds and 4 git commands to generate.