forked from pool/apache2-mod_dnssd
Accepting request 256649 from home:pgajdos
- fixed loading for apache 2.4 [bnc#850825] OBS-URL: https://build.opensuse.org/request/show/256649 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_dnssd?expand=0&rev=9
This commit is contained in:
parent
f1a95e7e55
commit
f4f1bc105b
@ -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
|
||||||
|
|
||||||
|
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user