Fix ongres-scram compilation failure

This commit is contained in:
houyingchao 2022-02-17 10:29:20 +08:00
parent a278f502c7
commit f1aeec716e

View File

@ -1,6 +1,6 @@
Name: ongres-scram
Version: 2.1
Release: 1
Release: 2
Summary: Java Implementation for SCRAM(Salted Challenge Response Authentication Mechanism)
License: BSD
URL: https://github.com/ongres/scram
@ -42,6 +42,9 @@ find \( -name '*.jar' -o -name '*.class' \) -delete
%pom_remove_plugin :maven-dependency-plugin client
%pom_remove_plugin -r :maven-javadoc-plugin
%pom_remove_dep com.google.code.findbugs:annotations
sed -i 's/.*SuppressFBWarnings.*//' common/src/main/java/com/ongres/scram/common/message/ServerFinalMessage.java
%build
%mvn_build -s
@ -59,6 +62,9 @@ sed -i 's/[0-9a-f]\{8\}-[0-9a-f]\{4\}-[0-9a-f]\{4\}-[0-9a-f]\{4\}-[0-9a-f]\{12\}
%files parent -f .mfiles-parent
%changelog
* Thu Feb 17 houyingchao <houyingchao@huawei.com> - 2.1-2
- Fix ongres-scram compilation failure
* Tue Feb 15 houyingchao <houyingchao@huawei.com> - 2.1-1
- Upgrade to 2.1 version