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

index 2e22758..9368c80 100644 (file)
@@ -50,6 +50,9 @@ This package contains the API documentation for %{name}.
 %pom_remove_plugin com.github.github:site-maven-plugin
 %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}' {} \;
+
 
 %build
 %pom_remove_dep org.apache.httpcomponents:httpclient
@@ -76,5 +79,5 @@ mvn_bootstrap=1 xmvn -DincludeArtifactIds=com.github.tomakehurst:wiremock depend
 
 
 %changelog
-* Thu Sep 08 2016 František Dvořák <valtri@civ.zcu.cz> - 0.2.6-1
+* Fri Jan 27 2017 František Dvořák <valtri@civ.zcu.cz> - 0.2.6-1
 - Initial package
index b539a60..6727837 100644 (file)
@@ -42,6 +42,9 @@ 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}' {} \;
+
 
 %build
 %mvn_build
@@ -60,5 +63,5 @@ This package contains the API documentation for %{name}.
 
 
 %changelog
-* Tue Aug 09 2016 František Dvořák <valtri@civ.zcu.cz> - 0.2.4-1
+* Fri Jan 27 2017 František Dvořák <valtri@civ.zcu.cz> - 0.2.4-1
 - Initial package