From e5f6e1606cf508ebe47f0e25db2a7708e89c56ac Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Tue, 4 Aug 2015 15:03:40 +0200 Subject: [PATCH] Make python bcond more reliable --- unbound.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unbound.spec b/unbound.spec index 3e0a797..8230a51 100644 --- a/unbound.spec +++ b/unbound.spec @@ -117,7 +117,8 @@ Pythonowy interfejs do biblioteki unbound. %build %configure \ - %{?with_python:--with-pyunbound} \ + %{__with_without python pyunbound} \ + %{__with_without python pythonmodule} \ --with-pidfile=/run/%{name}.pid \ --with-chroot-dir="" \ --with-conf-file=%{_sysconfdir}/%{name}/%{name}.conf \ -- 2.44.0