Accepting request 1072520 from Java:packages

Remove unnecessary dependency

OBS-URL: https://build.opensuse.org/request/show/1072520
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/antlr3?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2023-03-17 16:04:30 +00:00 committed by Git OBS Bridge
commit 4c913eba67
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 17 06:55:33 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- No need to use enforcer plugin in controlled environment
-------------------------------------------------------------------
Fri Nov 18 21:43:50 UTC 2022 - Pedro Monreal <pmonreal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package antlr3-java
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -40,7 +40,6 @@ Patch1: antlr3-osgi-manifest.patch
Patch100: antlr3-generated_sources.patch
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: maven-enforcer-plugin
BuildRequires: maven-local
BuildRequires: unzip
BuildRequires: mvn(antlr:antlr)
@ -151,6 +150,7 @@ find -type f -a -name *.class -delete
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-enforcer-plugin
# compile for target 1.8
sed -i 's/jsr14/1.8/' antlr3-maven-archetype/src/main/resources/archetype-resources/pom.xml \