From: František Dvořák Date: Fri, 27 Jan 2017 14:00:42 +0000 (+0100) Subject: Compatibility with Java 8 in EPEL 7 - fix syntax X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=a6f6c6ffa6d9a403a5d0bfe84abb538954ea32e2;p=packaging-rpm-jOCCI.git Compatibility with Java 8 in EPEL 7 - fix syntax --- diff --git a/jOCCI-api/jOCCI-api.spec b/jOCCI-api/jOCCI-api.spec index 9368c80..8da401e 100644 --- a/jOCCI-api/jOCCI-api.spec +++ b/jOCCI-api/jOCCI-api.spec @@ -51,7 +51,7 @@ This package contains the API documentation for %{name}. %pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin # compatibility with Java >= 8 (required for EPEL 7 only, not needed in F26+) -find src -type f -name \*.java sed -i -e '/@author/{s//\>\;/g}' {} \; +find src -type f -name \*.java -exec sed -i -e '/@author/{s//\>\;/g}' {} \; %build diff --git a/jOCCI-core/jOCCI-core.spec b/jOCCI-core/jOCCI-core.spec index 6727837..31fd506 100644 --- a/jOCCI-core/jOCCI-core.spec +++ b/jOCCI-core/jOCCI-core.spec @@ -43,7 +43,7 @@ This package contains the API documentation for %{name}. %pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin # compatibility with Java >= 8 (required for EPEL 7 only, not needed in F26+) -find src -type f -name \*.java sed -i -e '/@author/{s//\>\;/g}' {} \; +find src -type f -name \*.java -exec sed -i -e '/@author/{s//\>\;/g}' {} \; %build