diff --git a/xtables-addons.spec b/xtables-addons.spec index cc07a9a..9650e3f 100644 --- a/xtables-addons.spec +++ b/xtables-addons.spec @@ -36,6 +36,9 @@ Recommends: %name-kmp # Yes, we've got a lot of good stuff! Provides: ipset = 4.4 Recommends: xtables-geoip + +%define xtlibdir %(pkg-config xtables --variable=xtlibdir) + %kernel_module_package %description @@ -101,7 +104,7 @@ rm -Rf "%buildroot"; %doc %_mandir/*/* %_sbindir/* %_libdir/*.so.* -%_libexecdir/xtables +%xtlibdir %_libexecdir/xtables-addons %changelog