From 71795966bdb2b81f9b0885effa272d0bcee44be7 Mon Sep 17 00:00:00 2001 From: djrzulf Date: Thu, 28 Sep 2006 15:48:38 +0000 Subject: [PATCH] - added patch for public_html, Changed files: apache-mod_vhost_mysql.spec -> 1.16 --- apache-mod_vhost_mysql.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apache-mod_vhost_mysql.spec b/apache-mod_vhost_mysql.spec index 224be34..383285f 100644 --- a/apache-mod_vhost_mysql.spec +++ b/apache-mod_vhost_mysql.spec @@ -1,15 +1,17 @@ %define mod_name vhost_mysql %define apxs /usr/sbin/apxs +%bcond_with publichtml # enables search of public_html in home taken from mysql Summary: Apache vhost in MySQL Summary(pl): Wirtualne hosty dla Apache'a w bazie MySQL Name: apache-mod_%{mod_name} Version: 0.10 -Release: 5 +Release: 6 License: GPL Group: Networking/Daemons Source0: http://fabienne.tc2.utelisys.net/~skinkie/mod_vhost_mysql2/mod_%{mod_name}2-%{version}.tar.gz # Source0-md5: c47c8dc4ac41e9ed2c91a239c876d272 Source1: apache_vhost_mysql.conf +Patch0: mod_%{mod_name}2-publichtml.patch BuildRequires: %{apxs} BuildRequires: apache-devel >= 2.0 BuildRequires: db-devel >= 4.2.52 @@ -32,6 +34,10 @@ Apache'u 2 przy u %prep %setup -q -n mod_%{mod_name}2-%{version} rm -rf .libs *.{la,lo,o,slo} +%if %{with publichtml} +%patch -p1 +%endif + %build %{__make} \ -- 2.43.0