From: Arkadiusz Miśkiewicz Date: Thu, 25 Nov 2021 05:58:49 +0000 (+0100) Subject: Rel 2; allow building with openjdk11 X-Git-Tag: auto/th/java-commons-daemon-1.1.0-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fjava-commons-daemon.git;a=commitdiff_plain;h=c9a4ad2 Rel 2; allow building with openjdk11 --- 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