rpms/kannel/devel kannel.spec,1.12,1.13

Matthias Saou (thias) fedora-extras-commits at redhat.com
Mon Oct 16 14:39:22 UTC 2006


Author: thias

Update of /cvs/extras/rpms/kannel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23673/devel

Modified Files:
	kannel.spec 
Log Message:
Update FC5 kannel to 1.4.1 and make sure we keep sqlite2 support for FC5.



Index: kannel.spec
===================================================================
RCS file: /cvs/extras/rpms/kannel/devel/kannel.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- kannel.spec	2 Oct 2006 15:25:40 -0000	1.12
+++ kannel.spec	16 Oct 2006 14:38:52 -0000	1.13
@@ -1,7 +1,7 @@
 Summary: WAP and SMS gateway
 Name: kannel
 Version: 1.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Kannel
 Group: System Environment/Daemons
 URL: http://www.kannel.org/
@@ -12,8 +12,12 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: bison, byacc, flex
 BuildRequires: libxml2-devel, openssl-devel, zlib-devel, pcre-devel
-# DB backends
+# DB backends - Use sqlite2 up to FC5 and sqlite3 for FC6+ and non-Fedora
+%if %{!?fedora:6}%{?fedora} >= 6
 BuildRequires: sqlite-devel
+%else
+BuildRequires: sqlite2-devel
+%endif
 %{?_with_mysql:Buildrequires: mysql-devel}
 %{?_with_pgsql:Buildrequires: postgresql-devel}
 # For the docs...
@@ -55,8 +59,12 @@
     --enable-pcre \
     --enable-docs \
     --enable-start-stop-daemon \
-    %{?_with_mysql} \
+%if %{!?fedora:6}%{?fedora} >= 6
     --with-sqlite3 \
+%else
+    --with-sqlite \
+%endif
+    %{?_with_mysql} \
     %{?_with_pgsql}
 # Remove %{?_smp_mflags} since the docs fail to build with it
 %{__make}
@@ -125,6 +133,9 @@
 
 
 %changelog
+* Mon Oct 16 2006 Matthias Saou <http://freshrpms.net/> 1.4.1-2
+- Make sure we keep sqlite2 support for FC5 and below.
+
 * Mon Oct  2 2006 Matthias Saou <http://freshrpms.net/> 1.4.1-1
 - Update to 1.4.1.
 - Remove obsolete depend patch.




More information about the fedora-extras-commits mailing list