From ddd440b8852fd5c0282a9962ceb686c351539552 Mon Sep 17 00:00:00 2001 From: fstrba <> Date: Mar 21 2022 19:30:40 +0000 Subject: Update aho-corasick-double-array-trie to version 1.2.1 / rev 2 via SR 963721 https://build.opensuse.org/request/show/963721 by user fstrba + dimstar_suse Build with source/target levels 8 --- diff --git a/.files b/.files index dea8b7c..a6f3fc2 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 2897436..6dd7973 100644 --- a/.rev +++ b/.rev @@ -7,4 +7,12 @@ new package 779835 + + 40024b579420621c63338292b37bb773 + 1.2.1 + + dimstar_suse + Build with source/target levels 8 + 963721 + diff --git a/aho-corasick-double-array-trie.changes b/aho-corasick-double-array-trie.changes index 9e605c6..eef9b73 100644 --- a/aho-corasick-double-array-trie.changes +++ b/aho-corasick-double-array-trie.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Mar 21 14:34:17 UTC 2022 - Fridrich Strba + +- Build with maven.compiler.release=8 on any JDK >= 9 + +------------------------------------------------------------------- Thu Feb 27 08:46:00 UTC 2020 - Fridrich Strba - Initial packaging of aho-corasick-double-array-trie 1.2.1 diff --git a/aho-corasick-double-array-trie.spec b/aho-corasick-double-array-trie.spec index d22f063..beaf3a6 100644 --- a/aho-corasick-double-array-trie.spec +++ b/aho-corasick-double-array-trie.spec @@ -1,7 +1,7 @@ # # spec file for package aho-corasick-double-array-trie # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ URL: https://github.com/hankcs/AhoCorasickDoubleArrayTrie Source0: https://github.com/hankcs/AhoCorasickDoubleArrayTrie/archive/v%{version}.tar.gz Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: fdupes +BuildRequires: java-devel >= 1.8 BuildRequires: maven-local BuildArch: noarch @@ -44,7 +45,11 @@ cp %{SOURCE1} . %pom_remove_plugin :maven-source-plugin %build -%{mvn_build} -f -- -Dsource=6 +%{mvn_build} -f -- \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -Dmaven.compiler.release=8 \ +%endif + -Dsource=8 %install %mvn_install