diff --git a/wavbreaker.rpmlintrc b/wavbreaker.rpmlintrc new file mode 100644 index 0000000..0bd6953 --- /dev/null +++ b/wavbreaker.rpmlintrc @@ -0,0 +1,6 @@ +# Not real spelling errors: +addFilter(r" spelling-error \('([Uu]ncheck|wavmerge)',") +# Use the latest GPLv2 license text +# https://github.com/thp/wavbreaker/pull/32 +# We will not patch this until/unless upstream merges the PR. +addFilter(r" incorrect-fsf-address ") diff --git a/wavbreaker.spec b/wavbreaker.spec index 2c9aea8..6de6779 100644 --- a/wavbreaker.spec +++ b/wavbreaker.spec @@ -69,11 +69,15 @@ sample rate, 16-bit sample size, etc.). # %%py3_shebang_fix contrib/ # Note also that this package neither BuildRequires nor Requires a Python # interpreter. -find contrib/ -type f -name '*.py' -print -exec sed -r -i '1{/^#!/d}' '{}' '+' +find contrib/ -type f -name '*.py' -print \ + -exec sed --regexp-extended --in-place '1{/^#!/d}' '{}' '+' + + +%conf +%meson -Dmp3=true -Dogg_vorbis=true %build -%meson -Dmp3=true -Dogg_vorbis=true %meson_build