Projects
Eulaceura:Factory
postgresql-odbc
_service:obs_scm:postgresql-odbc.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:postgresql-odbc.spec of Package postgresql-odbc
Name: postgresql-odbc Summary: Official postgreSQL ODBC driver Version: 15.00.0000 Release: 1 License: LGPL-2.0-or-later URL: https://odbc.postgresql.org/ Source0: https://ftp.postgresql.org/pub/odbc/versions.old/src/psqlodbc-%{version}.tar.gz Patch0: postgresql-odbc-09.06.0200-revert-money-fix.patch Patch1: postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch BuildRequires: unixODBC-devel postgresql-test-rpm-macros gcc BuildRequires: libpq-devel >= 9.2 Provides: psqlodbc = %version-%release %description This package is the official PostgreSQL ODBC Driver. %package devel Summary: Various testsuite files for psqlodbc Requires: postgresql-test gcc make unixODBC-devel Requires: %{name} = %{version}-%{release} Provides: %{name}-tests = %{version}-%{release} Obsoletes: %{name}-tests < %{version}-%{release} %description devel The package contains different files for various tests for postgresql-odbc. %prep %autosetup -p1 -n psqlodbc-%{version} echo "The upstream psqlodbc testsuite is distributed in '%{name}-tests'">README.rpmdist echo "(sub)package.">>README.rpmdist %build CPPFLAGS="-I%{_includedir}/pgsql/internal/" export CPPFLAGS %configure --with-unixodbc --disable-dependency-tracking %make_build %install %make_install mkdir %{buildroot}/%{_libdir}/postgresql-odbc && chmod 755 %{buildroot}/%{_libdir}/postgresql-odbc cp -R test %{buildroot}/%{_libdir}/postgresql-odbc sed -i 's~^drvr=.*~drvr=%{_libdir}/psqlodbc~' %{buildroot}/%{_libdir}/postgresql-odbc/test/odbcini-gen.sh cd %{buildroot}%{_libdir} ln -s psqlodbcw.so psqlodbc.so ; rm psqlodbcw.la psqlodbca.la %check %postgresql_tests_run cd test && %make_build installcheck || { echo "=== trying to find all regression.diffs files in build directory ===" find -name regression.diffs | while read line; do cat "$line" done false } %files %license license.txt %{_libdir}/{psqlodbc.so,psqlodbca.so,psqlodbcw.so} %doc readme.txt docs/* README.rpmdist %files devel %license license.txt %dir %{_libdir}/postgresql-odbc %defattr(-,postgres,postgres) %{_libdir}/postgresql-odbc/test %changelog * Thu Oct 24 2024 Funda Wang <fundawang@yeah.net> - 15.00.0000-1 - update to 15.00.0000 * Fri Nov 10 2023 Chenxi Mao <chenxi.mao@suse.com> - 13.01.0000-3 - Add libpq-devel version dependency. - Bump version release to 3, because previous change didn't bump release number. * Fri Mar 10 2023 dillon chen <dillon.chen@gmail.com> - 13.01.0000-2 - add two patch - postgres-server-devel to pkgconfig(libpq) * Tue Feb 14 2023 dillon chen <dillon.chen@gmail.com> - 13.01.0000-1 - Bump to 13.01.0000 verion * Mon Jun 28 2021 bzhaoop <bzhaojyathousandy@gmail.com> - 13.00.0000-1 - Bump to 13.00.0000 verion * Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 10.03.0000-4 - Completing build dependencies * Wed Apr 22 2020 wangyue<wangyue92@huawei.com> - 10.03.0000-3 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2