[packages/redland] - unified pgsql bcond name

qboosh qboosh at pld-linux.org
Mon May 11 18:35:16 CEST 2020


commit 7d0691cb13523f8c5d5225c01ebcfbb31e27eb6f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 11 18:35:44 2020 +0200

    - unified pgsql bcond name

 redland.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/redland.spec b/redland.spec
index d0356c6..e06bd13 100644
--- a/redland.spec
+++ b/redland.spec
@@ -1,8 +1,8 @@
 #
 # Conditional build:
-%bcond_without	mysql		# without mysql
-%bcond_without	postgresql	# without postgresql
-%bcond_with	threestore	# with 3store
+%bcond_without	mysql		# MySQL support
+%bcond_without	pgsql		# PostgreSQL support
+%bcond_with	threestore	# 3store support
 #
 Summary:	Redland - a library that provides a high-level interface for RDF
 Summary(pl.UTF-8):	Redland - biblioteka udostępniająca wysokopoziomowy interfejs do RDF
@@ -28,7 +28,7 @@ BuildRequires:	libtool >= 2:2.0
 %{?with_mysql:BuildRequires:	mysql-devel >= 3.23.58}
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	pkgconfig
-%{?with_postgresql:BuildRequires:	postgresql-devel}
+%{?with_pgsql:BuildRequires:	postgresql-devel}
 BuildRequires:	rasqal-devel >= 1:0.9.25
 BuildRequires:	rpmbuild(macros) >= 1.98
 BuildRequires:	sed >= 4.0
@@ -176,7 +176,7 @@ cd ..
         %{!?with_mysql:--with-mysql=no} \
 	--with-odbc-inc=/usr/include \
 	--with-odbc-lib=/usr/%{_lib} \
-        %{!?with_postgresql:--with-postgresql=no} \
+        %{!?with_pgsql:--with-postgresql=no} \
 	--with-raptor=system \
 	--with-rasqal=system \
 	--with-threads \
@@ -236,7 +236,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/redland/librdf_storage_mysql.so
 %endif
 
-%if %{with postgresql}
+%if %{with pgsql}
 %files storage-postgresql
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/redland/librdf_storage_postgresql.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/redland.git/commitdiff/7d0691cb13523f8c5d5225c01ebcfbb31e27eb6f



More information about the pld-cvs-commit mailing list