1
0
Stephan Kulow 2014-10-16 16:15:05 +00:00 committed by Git OBS Bridge
commit 45f68b92f0
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 15 08:47:46 UTC 2014 - pgajdos@suse.com
- fixed loading for apache 2.4 [bnc#850825]
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 20 11:25:36 UTC 2011 - coolo@suse.com Tue Dec 20 11:25:36 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package apache2-mod_dnssd # spec file for package apache2-mod_dnssd
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands. # Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -16,6 +16,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: apache2-mod_dnssd Name: apache2-mod_dnssd
%define _name mod_dnssd %define _name mod_dnssd
Summary: Apache2 module for Zeroconf support via DNS-SD Summary: Apache2 module for Zeroconf support via DNS-SD
@ -41,6 +42,7 @@ Supplements: packageand(apache2-worker:gnome-user-share)
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define apxs /usr/sbin/apxs2 %define apxs /usr/sbin/apxs2
%define apache_libexecdir %(%{apxs} -q LIBEXECDIR) %define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
%define apache_branch %(rpm -q --qf %%{version} apache2 | grep -E -o "2\\.[0-9]+")
%description %description
mod_dnssd is an Apache HTTPD module which adds Zeroconf support via mod_dnssd is an Apache HTTPD module which adds Zeroconf support via
@ -51,6 +53,9 @@ DNS-SD using Avahi.
%patch0 -p1 %patch0 -p1
%build %build
%if "%{apache_branch}" == "2.4"
sed -i 's/unixd_setup_child/ap_&/' src/mod_dnssd.c
%endif
%configure \ %configure \
--disable-lynx --disable-lynx
make %{?_smp_mflags} make %{?_smp_mflags}