diff --git a/java-11-openjdk.rpmlintrc b/java-11-openjdk.rpmlintrc new file mode 100644 index 0000000..814cb51 --- /dev/null +++ b/java-11-openjdk.rpmlintrc @@ -0,0 +1,10 @@ +# See "%global _find_debuginfo_opts -g" and comments in spec +addFilter("E: unstripped-binary-or-object.*") +# allow unversioned libs in this custom location +addFilter("E: invalid-soname .*/usr/lib/jvm/.*") +# allow RPATHs in custom locations +addFilter("W: binary-or-shlib-defines-rpath .*/usr/lib/jvm/.*") +# allow weird stuff in hacky slowdebug subpackages +addFilter("W: devel-file-in-non-devel-package .*/usr/lib/jvm/.*-slowdebug/.*") +# allow long summaries to avoid odd diffs with Fedora +addFilter("E: summary-too-long") diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec index dfa922c..091151e 100644 --- a/java-11-openjdk.spec +++ b/java-11-openjdk.spec @@ -1082,6 +1082,9 @@ Source14: TestECDSA.java # Verify system crypto (policy) can be disabled via a property Source15: TestSecurityProperties.java +# ROSA-specific +Source300: %{name}.rpmlintrc + ############################################ # # RPM/distribution specific patches