[packages/libpqxx/DEVEL-8.0] - updated to 8.0.2, C++20 now

qboosh qboosh at pld-linux.org
Mon Nov 23 18:12:25 CET 2026


commit fd56ca0d1402bab2d061785db456af39f1b8978e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Nov 23 13:53:55 2026 +0100

    - updated to 8.0.2, C++20 now

 libpqxx.spec | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/libpqxx.spec b/libpqxx.spec
index 0036ff4..9102050 100644
--- a/libpqxx.spec
+++ b/libpqxx.spec
@@ -6,18 +6,18 @@
 Summary:	C++ interface to PostgreSQL
 Summary(pl.UTF-8):	Interfejs C++ do PostgreSQL
 Name:		libpqxx
-Version:	7.10.7
+Version:	8.0.2
 Release:	1
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/jtv/libpqxx/releases
 Source0:	https://github.com/jtv/libpqxx/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	92dda5a89ff1fb473572b8091fb5c044
+# Source0-md5:	abbb6c91651c69712815e681629a4607
 URL:		https://pqxx.org/
 %{?with_apidocs:BuildRequires:	doxygen}
-BuildRequires:	libstdc++-devel >= 6:7
+BuildRequires:	libstdc++-devel >= 6:8
 BuildRequires:	pkgconfig
-BuildRequires:	postgresql-devel >= 10
+BuildRequires:	postgresql-devel >= 11
 BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.527
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,8 +33,8 @@ Summary:	C++ interface to PostgreSQL - development part
 Summary(pl.UTF-8):	Interfejs C++ do PostgreSQL - część programistyczna
 Group:		Development/Libraries
 Requires:	%{name}%{?_isa} = %{version}-%{release}
-Requires:	libstdc++-devel%{?_isa} >= 6:7
-Requires:	postgresql-devel%{?_isa} >= 10
+Requires:	libstdc++-devel%{?_isa} >= 6:8
+Requires:	postgresql-devel%{?_isa} >= 11
 
 %description devel
 This package includes header files for C++ interface.
@@ -84,9 +84,9 @@ Pakiet ten zawiera dokumentację dla interfejsu C++.
 %setup -q
 
 %build
-# libpqxx needs at least C++17, gcc 10 defaulted to C++14
-%if %(echo %{cc_version} | cut -d. -f 1) < 11
-CXXFLAGS="%{rpmcxxflags} -std=c++17"
+# libpqxx needs at least C++20, gcc 11..15 defaulted to C++17
+%if %(echo %{cc_version} | cut -d. -f 1) < 16
+CXXFLAGS="%{rpmcxxflags} -std=c++20"
 %endif
 %configure \
 	--enable-shared \
@@ -101,8 +101,6 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}}
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-./libtool --mode=install install tools/rmlo $RPM_BUILD_ROOT%{_bindir}
-
 cp -a test/test* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpqxx.la
@@ -115,9 +113,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING NEWS README*
-%attr(755,root,root) %{_bindir}/rmlo
-%{_libdir}/libpqxx-7.10.so
+%doc AUTHORS COPYING NEWS README.md
+%{_libdir}/libpqxx-8.0.so
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libpqxx.git/commitdiff/fd56ca0d1402bab2d061785db456af39f1b8978e



More information about the pld-cvs-commit mailing list