Compatibility with Java 8 in EPEL 7 - fix syntax
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 27 Jan 2017 14:00:42 +0000 (15:00 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 27 Jan 2017 14:00:42 +0000 (15:00 +0100)
jOCCI-api/jOCCI-api.spec
jOCCI-core/jOCCI-core.spec

index 9368c80..8da401e 100644 (file)
@@ -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/</\&lt\;/g;s/>/\&gt\;/g}' {} \;
+find src -type f -name \*.java -exec sed -i -e '/@author/{s/</\&lt\;/g;s/>/\&gt\;/g}' {} \;
 
 
 %build
index 6727837..31fd506 100644 (file)
@@ -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/</\&lt\;/g;s/>/\&gt\;/g}' {} \;
+find src -type f -name \*.java -exec sed -i -e '/@author/{s/</\&lt\;/g;s/>/\&gt\;/g}' {} \;
 
 
 %build