Removed spotbugs in code
This commit is contained in:
parent
28ef89d33d
commit
bfa609e149
2 changed files with 46 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ Patch3: rsyntaxVersion.patch
|
|||
Patch4: systemCfr.patch
|
||||
Patch5: systemJasm.patch
|
||||
Patch6: systemJcoder.patch
|
||||
|
||||
Patch7: removeMultilineSpotbugs.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: maven-local
|
||||
|
|
@ -59,6 +59,7 @@ This package contains the API documentation for %{name}.
|
|||
%patch4 -p0
|
||||
%patch5 -p0
|
||||
%patch6 -p0
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
pushd runtime-decompiler
|
||||
|
|
@ -68,6 +69,11 @@ popd
|
|||
%pom_remove_plugin :maven-checkstyle-plugin
|
||||
%pom_remove_plugin :formatter-maven-plugin
|
||||
%pom_remove_dep :spotbugs-annotations
|
||||
a=`find | grep ".*\.java$"`
|
||||
for x in $a ; do
|
||||
#grep -e ".*SuppressFBWarnings.*" $x && echo "^ $x ^"
|
||||
sed "s/.*SuppressFBWarnings.*//g" $x -i
|
||||
done
|
||||
|
||||
%mvn_build --xmvn-javadoc -- -Plegacy
|
||||
java -cp /usr/share/java/classpathless-compiler/classpathless-compiler.jar:runtime-decompiler/target/runtime-decompiler-%{version}.jar org.jrd.backend.data.Help > %{name}.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue