diff --git a/advancecomp.rpmlintrc b/advancecomp.rpmlintrc index 4e393f3..483f617 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 3c193c4..97e6fca 100644 --- a/advancecomp.spec +++ b/advancecomp.spec @@ -112,7 +112,8 @@ find . -type f -exec gawk \ xargs -r -t sed -r -i -e 's@^([[:blank:]]*#include.*)zopfli/@\1@' -%conf +%build +%set_build_flags autoreconf --force --install --verbose # Link against system libdeflate @@ -124,9 +125,6 @@ export LDFLAGS="$(pkgconf --libs libdeflate) ${LDFLAGS-}" export LDFLAGS="-lzopfli ${LDFLAGS-}" %configure - - -%build %make_build