diff --git a/ongres-scram.spec b/ongres-scram.spec index d1b51fb..9c47b49 100644 --- a/ongres-scram.spec +++ b/ongres-scram.spec @@ -11,6 +11,7 @@ Source0: https://github.com/ongres/%upstream_name/archive/%upstream_versio BuildRequires: maven-local BuildRequires: mvn(com.ongres.stringprep:saslprep) BuildRequires: mvn(junit:junit) +BuildRequires: jurand BuildArch: noarch ExclusiveArch: %{java_arches} noarch @@ -50,7 +51,7 @@ find \( -name '*.jar' -o -name '*.class' \) -delete # 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 +%java_remove_annotations . -s -n SuppressFBWarnings %build %mvn_build -s