https://bugzilla.redhat.com/show_bug.cgi?id=1247243 --- Comment #18 from gil cattaneo <puntogil@xxxxxxxxx> --- these are only waste of time %global major_version 1 %global minor_version 3 %global micro_version 3 Version: %{major_version}.%{minor_version}.%{micro_version} here you should use, instead of %define with_java 1 %if 0%{?fedora} %bcond_with java %endif %if %{without java} BuildRequires: maven-local BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.jboss:jboss-parent:pom:) BuildRequires: mvn(net.jcip:jcip-annotations) BuildRequires: mvn(org.jboss.logging:jboss-logging) BuildRequires: mvn(org.jboss.logging:jboss-logging-tools-parent:pom:) %endif ... %if %{without java} %package java .... .... %if %{with_java} %pom_disable_module demo .... %if %{without java} %pom_disable_module demo ... %mvn_file :mod_cluster-container-tomcat8 mod_cluster/mod_cluster-container-tomcat8 tomcat/mod_cluster-container-tomcat8 %mvn_package "org.jboss.mod_cluster:" java %endif .... .... %if %{without java} %mvn_build -s -f -- -PTC8 %endif .... %if %{with_java} %mvn_install .... %if %{without java} %mvn_install .... %if %{without java} %files javadoc -f .mfiles-javadoc ..... -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx