From beefb642e23af2be8c6385ec24600295f82e119608a1a51e9203e0a893832247 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 24 Sep 2024 14:03:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/opennlp-chunk-models?expand=0&rev=4 --- opennlp-chunk-models.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/opennlp-chunk-models.spec b/opennlp-chunk-models.spec index 25f42f6..2a603b4 100644 --- a/opennlp-chunk-models.spec +++ b/opennlp-chunk-models.spec @@ -25,7 +25,7 @@ URL: https://opennlp.sourceforge.net Source0: https://repo1.maven.org/maven2/edu/washington/cs/knowitall/%{name}/%{version}/%{name}-%{version}-sources.jar Source1: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: java-devel -BuildRequires: javapackages-local +BuildRequires: javapackages-local >= 6 BuildRequires: unzip BuildArch: noarch @@ -35,7 +35,6 @@ Stock OpenNLP chunker models trained on conll2000 shared task data. %prep %setup -q -c cp %{SOURCE1} LICENSE -%pom_remove_parent %build jar --create --verbose \ @@ -50,7 +49,7 @@ install -dm 0755 %{buildroot}%{_javadir}/%{name} install -pm 0644 %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{name}.jar # pom install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} -install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom %add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar %files -f .mfiles