From c9a4ad23c7fdf23fe7d8c9eb101fa99c1aa067bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 25 Nov 2021 06:58:49 +0100 Subject: [PATCH] Rel 2; allow building with openjdk11 --- build.patch | 16 ++++++++++++++++ java-commons-daemon.spec | 4 +++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 build.patch diff --git a/build.patch b/build.patch new file mode 100644 index 0000000..4722045 --- /dev/null +++ b/build.patch @@ -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 @@ + + + +- ++ + + +- ++ + + + diff --git a/java-commons-daemon.spec b/java-commons-daemon.spec index 8c70f3a..c4db603 100644 --- a/java-commons-daemon.spec +++ b/java-commons-daemon.spec @@ -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 -- 2.43.0