%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;s/>/\>\;/g}' {} \;
+find src -type f -name \*.java -exec sed -i -e '/@author/{s/</\<\;/g;s/>/\>\;/g}' {} \;
%build
%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;s/>/\>\;/g}' {} \;
+find src -type f -name \*.java -exec sed -i -e '/@author/{s/</\<\;/g;s/>/\>\;/g}' {} \;
%build