From 38285628e550cb30d0569d0bca1360fc8a7b37c03f9fa1e67de4df36180c1445 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 23 Nov 2010 13:48:13 +0000 Subject: [PATCH] Use xtlibdir OBS-URL: https://build.opensuse.org/package/show/security:netfilter/xtables-addons?expand=0&rev=20 --- xtables-addons.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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