Remove unnecessary findbugs dependency (#1966792)

This commit is contained in:
Richard Fearn 2021-06-01 22:24:21 +01:00
parent 565d2358a7
commit 395e1195b7

View File

@ -3,14 +3,14 @@
Name: ongres-%upstream_name Name: ongres-%upstream_name
Version: %(echo %upstream_version | sed 's/-/~/g') Version: %(echo %upstream_version | sed 's/-/~/g')
Release: 1%{?dist} Release: 2%{?dist}
Summary: Salted Challenge Response Authentication Mechanism (SCRAM) - Java Implementation Summary: Salted Challenge Response Authentication Mechanism (SCRAM) - Java Implementation
License: BSD License: BSD
URL: https://github.com/ongres/%upstream_name URL: https://github.com/ongres/%upstream_name
Source0: https://github.com/ongres/%upstream_name/archive/%upstream_version/%upstream_name-%upstream_version.tar.gz Source0: https://github.com/ongres/%upstream_name/archive/%upstream_version/%upstream_name-%upstream_version.tar.gz
BuildRequires: maven-local BuildRequires: maven-local
BuildRequires: findbugs
BuildRequires: ongres-stringprep BuildRequires: ongres-stringprep
BuildRequires: junit
BuildArch: noarch BuildArch: noarch
%description %description
@ -45,6 +45,10 @@ find \( -name '*.jar' -o -name '*.class' \) -delete
%pom_remove_plugin :maven-dependency-plugin client %pom_remove_plugin :maven-dependency-plugin client
%pom_remove_plugin -r :maven-javadoc-plugin %pom_remove_plugin -r :maven-javadoc-plugin
# Retired in Fedora; not required for build
%pom_remove_dep com.google.code.findbugs:annotations
sed -i 's/.*SuppressFBWarnings.*//' common/src/main/java/com/ongres/scram/common/message/ServerFinalMessage.java
%build %build
%mvn_build -s %mvn_build -s
@ -64,6 +68,9 @@ find \( -name '*.jar' -o -name '*.class' \) -delete
%license LICENSE %license LICENSE
%changelog %changelog
* Tue Jun 01 2021 Richard Fearn <richardfearn@gmail.com> - 2.1-2
- Remove unnecessary findbugs dependency (#1966792)
* Fri Feb 12 2021 Ondrej Dubaj <odubaj@redhat.com> - 2.1-1 * Fri Feb 12 2021 Ondrej Dubaj <odubaj@redhat.com> - 2.1-1
- Rebase to version 2.2 - Rebase to version 2.2