[packages/sptk] - unified pgsql bcond name

qboosh qboosh at pld-linux.org
Mon May 11 18:47:45 CEST 2020


commit de27210b9d70e0b23cb2676c22e042e68b6969dd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 11 18:48:13 2020 +0200

    - unified pgsql bcond name

 sptk.spec | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/sptk.spec b/sptk.spec
index c15d825..c44a05e 100644
--- a/sptk.spec
+++ b/sptk.spec
@@ -1,11 +1,11 @@
 #
 # Conditional build:
 %bcond_with	examples	# build examples (fails at the moment)
-%bcond_without	excel	# disable excel support
-%bcond_without	odbc	# disable odbc support
-%bcond_without	postgresql	# disable postgresql support
-%bcond_without	sqlite3	# disable sqlite3 support
-%bcond_without	static_libs	# don't build static libraries
+%bcond_without	excel		# excel support
+%bcond_without	odbc		# ODBC support
+%bcond_without	pgsql		# PostgreSQL support
+%bcond_without	sqlite3		# SQLite3 support
+%bcond_without	static_libs	# static libraries
 #
 Summary:	C++ user interface toolkit for X with database and Excel support
 Summary(pl.UTF-8):	Toolkit C++ dla X ze wsparciem dla bazy danych i Excela
@@ -22,7 +22,7 @@ BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
 BuildRequires:	fltk-devel
 BuildRequires:	libtool
-%{?with_postgresql:BuildRequires:	postgresql-devel}
+%{?with_pgsql:BuildRequires:	postgresql-devel}
 %{?with_sqlite3:BuildRequires:	sqlite3-devel}
 %{?with_odbc:BuildRequires:	unixODBC-devel}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -81,7 +81,7 @@ Przykłady dla SPTK.
 %configure \
 	--enable-examples=%{?with_examples:yes}%{!?with_examples:no} \
 	--enable-odbc=%{?with_odbc:yes}%{!?with_odbc:no} \
-	--enable-postgresql=%{?with_postgresql:yes}%{!?with_postgresql:no} \
+	--enable-postgresql=%{?with_pgsql:yes}%{!?with_pgsql:no} \
 	--enable-sqlite3=%{?with_sqlite3:yes}%{!?with_sqlite3:no} \
 	--enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no} \
 	--enable-debug=%{?debug:yes}%{!?debug:no}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sptk.git/commitdiff/de27210b9d70e0b23cb2676c22e042e68b6969dd



More information about the pld-cvs-commit mailing list