diff --git a/sleef.rpmlintrc b/sleef.rpmlintrc index 16b8bfd..7a1f9b5 100644 --- a/sleef.rpmlintrc +++ b/sleef.rpmlintrc @@ -1,9 +1,12 @@ # These are not real spelling errors... -addFilter(r" spelling-error \('[Vv]ectorized', ") addFilter(r"sleef-gnuabi\..*: spelling-error \('(lib(sleefgnuabi|mvec)|glibc)', ") # All of the documentation is in the -doc subpackage. addFilter(r" no-documentation") # This Source cannot be a URL because we must filter out certain files. -addFilter(r" invalid-url Source[0-9]+: sleef-.*-filtered\.tar\.xz") +addFilter(r" invalid-url Source[0-9]+: sleef-.*-filtered\.tar\.zst") # Bogus; it is a perfectly fine zstandard file. -addFilter(r" inconsistent-file-extension sleef-.*-filtered\.tar\.xz") +addFilter(r" inconsistent-file-extension sleef-.*-filtered\.tar\.zst") +# We are not sure why some files from docs/ are duplicated in docs/src/. The +# files are small compared to the documentation overall, so it does not seem +# worth too much investigation, and hardlinking them would be a little tedious. +addFilter(r" files-duplicate /.*/docs/src/") diff --git a/sleef.spec b/sleef.spec index 8c5ca5f..ea7b1d4 100644 --- a/sleef.spec +++ b/sleef.spec @@ -203,6 +203,8 @@ developing applications that use sleef-quad. %prep %autosetup -n sleef-%{tag} -p1 +# Remove an unwanted hidden file from the docs +find docs/ -type f -name .nojekyll -print -delete %conf @@ -276,6 +278,18 @@ then fi %endif +%ifarch %{x86_64} +%if %{undefined fc43} && %{undefined fc42} && %{undefined el10} +# At least one test within this executable fails since GCC 16 landed in Fedora +# 44. It’s not very easy to tell exactly what is going wrong, and upstream is +# not likely to be interested since (as determined by bisection) the failure +# was resolved upstream by the removal of no-FMA helpers in +# https://github.com/shibatch/sleef/pull/685. Let’s just skip this while we +# await the next upstream release. +skips="${skips}|tester4ypurec_scalar" +%endif +%endif + skips="${skips})$" %ctest --exclude-regex "${skips}" --extra-verbose