Use Java annotation removal tool
Relates: RHEL-28121
This commit is contained in:
parent
4a0d325922
commit
f728d37321
@ -11,6 +11,7 @@ Source0: https://github.com/ongres/%upstream_name/archive/%upstream_versio
|
|||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(com.ongres.stringprep:saslprep)
|
BuildRequires: mvn(com.ongres.stringprep:saslprep)
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
|
BuildRequires: jurand
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{java_arches} noarch
|
ExclusiveArch: %{java_arches} noarch
|
||||||
|
|
||||||
@ -50,7 +51,7 @@ find \( -name '*.jar' -o -name '*.class' \) -delete
|
|||||||
|
|
||||||
# Retired in Fedora; not required for build
|
# Retired in Fedora; not required for build
|
||||||
%pom_remove_dep com.google.code.findbugs:annotations
|
%pom_remove_dep com.google.code.findbugs:annotations
|
||||||
sed -i 's/.*SuppressFBWarnings.*//' common/src/main/java/com/ongres/scram/common/message/ServerFinalMessage.java
|
%java_remove_annotations . -s -n SuppressFBWarnings
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build -s
|
%mvn_build -s
|
||||||
|
Loading…
Reference in New Issue
Block a user