diff --git a/libseccomp.spec b/libseccomp.spec index 85c6360..8a96821 100644 --- a/libseccomp.spec +++ b/libseccomp.spec @@ -100,8 +100,8 @@ This subpackage contains debug utilities for the seccomp interface. %build if [ ! -f configure ]; then - perl -i -pe 's{AC_INIT\(\[libseccomp\], \[0\.0\.0\]\)}{AC_INIT([libseccomp], [%{version}])}' configure.ac - autoreconf -fvi + perl -i -pe 's{\QAC_INIT([libseccomp], [0.0.0])\E}{AC_INIT([libseccomp], [%version])}' configure.ac + autoreconf -fiv fi %configure \ --includedir="%_includedir/%name" \