https://bugzilla.redhat.com/show_bug.cgi?id=1305650 --- Comment #4 from gil cattaneo <puntogil@xxxxxxxxx> --- e.g. BuildRequires: maven-local BuildRequires: mvn(asm:asm) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) # for tests BuildRequires: mvn(asm:asm-util) BuildRequires: mvn(org.testng:testng) BuildRequires: xorg-x11-server-Xvfb .... %package examples Summary: Examples for %{project} %description examples UISpec4J sample applications %package root Summary: UISpec4J ROOT POM %description root UISpec4J Parent POM. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{project}-%{commit0} # Set proper encoding value %pom_xpath_set pom:encoding UTF-8 # Unsupported configuration %pom_remove_plugin :maven-surefire-plugin %pom_remove_plugin -r :maven-javadoc-plugin # Fix non ASCII chars for s in %{name}/src/main/java/org/uispec4j/Key.java;do native2ascii -encoding UTF8 ${s} ${s} done %mvn_package :addressbook examples %mvn_package :calculator examples %mvn_package :%{name}::jdk8: %{name} %mvn_alias :%{name} :%{name}::jdk5: :%{name}::jdk6: :%{name}::jdk7: %build # do tests in some fake X export DISPLAY=:98 Xvfb $DISPLAY & trap "kill $! || true" EXIT %mvn_build -s -- -Dproject.build.sourceEncoding=UTF-8 %install %mvn_install %files -f .mfiles-%{name} %doc README.md %license %{name}/LICENSE.txt %files examples -f .mfiles-examples %license %{name}/LICENSE.txt %files root -f .mfiles-%{name}-root %license %{name}/LICENSE.txt %files javadoc -f .mfiles-javadoc %license %{name}/LICENSE.txt -- 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://admin.fedoraproject.org/mailman/listinfo/package-review