diff --git a/java_cup.spec b/java_cup.spec index e7ec1d1..58cfa00 100644 --- a/java_cup.spec +++ b/java_cup.spec @@ -80,7 +80,7 @@ Documentation for java_cup. cp %{SOURCE1} pom.xml # remove all binary files -find . -name "*.class" -exec rm -f {} \; +find -name "*.class" -delete %if ! %{with_bootstrap} # remove prebuilt JFlex @@ -96,7 +96,7 @@ export CLASSPATH=$(build-classpath java_cup java_cup-runtime jflex) %endif ant -find . -name parser.cup -exec rm {} \; +find -name parser.cup -delete ant javadoc %install