From a7fc338fc2ea6bdd32fb273979605840428740bd Mon Sep 17 00:00:00 2001 From: shadzik Date: Fri, 25 Jan 2008 19:28:56 +0000 Subject: [PATCH] - add patch0 for logdb pupose - rel 1.snap Changed files: ejabberd-mysql.spec -> 1.4 --- ejabberd-mysql.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ejabberd-mysql.spec b/ejabberd-mysql.spec index 353ba4a..280865d 100644 --- a/ejabberd-mysql.spec +++ b/ejabberd-mysql.spec @@ -1,16 +1,19 @@ +%bcond_with logdb # server-side message logging support for mysql5 driver + %define _snap 20070926r390 Summary: Ejabberds native MySQL drivers Summary(pl.UTF-8): Natywne sterowniki do MySQL dla ejabberda Name: ejabberd-mysql Version: 0 -Release: 0.%{_snap}.1 +Release: 1.%{_snap}.0 License: GPL Group: Applications/Communications # get it from https://svn.process-one.net/ejabberd-modules/mysql/trunk/src/ and drop onto distfiles Source0: %{name}.tar.gz # Source0-md5: 3f3b5c59ebb5a807ec2d6c5ec31e795b +Patch0: %{name}-logdb_mysql5.patch URL: http://ejabberd.jabber.ru/ BuildRequires: erlang >= R9C BuildRequires: rpmbuild(macros) >= 1.268 @@ -25,6 +28,9 @@ Natywne sterowniki do MySQL dla ejabberda. %prep %setup -q -n %{name} +%if %{with logdb} +%patch0 -p0 +%endif %build erlc mysql*.erl -- 2.43.0