diff --git a/beust-jcommander.spec b/beust-jcommander.spec index 20a8d73..1cb1966 100644 --- a/beust-jcommander.spec +++ b/beust-jcommander.spec @@ -61,7 +61,7 @@ sed -i 's/@VERSION@/%{version}/g' pom.xml %build mkdir -p build/classes -mkdir -p build/doc +mkdir -p build/javadoc javac -d build/classes -source 7 -target 7 `find src/main/java -name *.java | xargs` javadoc -d build/javadoc -source 7 --source-path src/main/java/ `find src/main/java -name *.java | xargs` (cd build/classes && jar cf ../%{name}-%{version}.jar `find . -name *.class | xargs`)