diff --git a/advancecomp.rpmlintrc b/advancecomp.rpmlintrc index 483f617..4e393f3 100644 --- a/advancecomp.rpmlintrc +++ b/advancecomp.rpmlintrc @@ -1,6 +1,6 @@ -# Spec file comment shows that exact version is unknown -addFilter(r" unversioned-explicit-provides bundled\(7zip\)") # Not real spelling errors addFilter(r" spelling-error \('[Rr]ecompression',") addFilter(r" spelling-error \('([pm]ng|gz)',") addFilter(r" spelling-error \('adv(zip|[pm]ng|def)',") +# Intentional, with a justifying spec-file comment +addFilter(r" no-%check-section") diff --git a/advancecomp.spec b/advancecomp.spec index 97e6fca..3c193c4 100644 --- a/advancecomp.spec +++ b/advancecomp.spec @@ -112,8 +112,7 @@ find . -type f -exec gawk \ xargs -r -t sed -r -i -e 's@^([[:blank:]]*#include.*)zopfli/@\1@' -%build -%set_build_flags +%conf autoreconf --force --install --verbose # Link against system libdeflate @@ -125,6 +124,9 @@ export LDFLAGS="$(pkgconf --libs libdeflate) ${LDFLAGS-}" export LDFLAGS="-lzopfli ${LDFLAGS-}" %configure + + +%build %make_build