!13 Fix ongres-scram compilation failure

From: @houyingchao 
Reviewed-by: @licihua 
Signed-off-by: @licihua
This commit is contained in:
openeuler-ci-bot 2022-02-17 06:31:33 +00:00 committed by Gitee
commit 2a62a77e39
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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