From 3ea8afb6ddbad44528a6594892f18fcf12088e241bf54f84c28457f878f77f69 Mon Sep 17 00:00:00 2001 From: Kristyna Streitova Date: Thu, 17 Dec 2015 11:23:38 +0000 Subject: [PATCH] Accepting request 348390 from home:pgajdos - %{apache_branch} converted to number OBS-URL: https://build.opensuse.org/request/show/348390 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_dnssd?expand=0&rev=16 --- apache2-mod_dnssd.changes | 5 +++++ apache2-mod_dnssd.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apache2-mod_dnssd.changes b/apache2-mod_dnssd.changes index 4b1fa2e..02ac87b 100644 --- a/apache2-mod_dnssd.changes +++ b/apache2-mod_dnssd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 11 12:05:03 UTC 2015 - pgajdos@suse.com + +- %{apache_branch} converted to number + ------------------------------------------------------------------- Tue Sep 1 09:16:05 UTC 2015 - pgajdos@suse.com diff --git a/apache2-mod_dnssd.spec b/apache2-mod_dnssd.spec index 5c2b048..87030ff 100644 --- a/apache2-mod_dnssd.spec +++ b/apache2-mod_dnssd.spec @@ -53,7 +53,7 @@ DNS-SD using Avahi. %patch0 -p1 %build -%if "%{apache_branch}" == "2.4" +%if %{apache_branch} >= 204 sed -i 's/unixd_setup_child/ap_&/' src/mod_dnssd.c %endif %configure \