Ohai, when building the package, the following warning is seen during %check + for test in "TestPubring" ++ grep -rl TestPubring + awk -i inplace '/^func.*TestPubring\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' awk: inplace:59: warning: inplace::begin: disabling in-place editing for invalid FILENAME `-' Reproducible: Always Steps to Reproduce: 1. build the package Actual Results: warning Expected Results: no warning The "TestPubring" does not exist in gopass-jsonapi (only in gopass itself), so the awking can be just dropped from the specfile: diff --git gopass-jsonapi.spec gopass-jsonapi.spec index 4b228ea..ee34043 100644 --- gopass-jsonapi.spec +++ gopass-jsonapi.spec @@ -48,9 +48,6 @@ install -m 0755 -vp %{gobuilddir}/bin/gopass-jsonapi %{buildroot}%{_bindir}/ %check git config --global user.email "%{name}-owner" git config --global user.name "%{name} maintainer" -for test in "TestPubring"; do - awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) -done %gocheck %endif
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.