provides: provide 'psqlodbc = version-release'

Version: 09.05.0400-4
This commit is contained in:
Pavel Raiskup 2016-10-20 09:05:12 +02:00
parent b423d5d999
commit 1227ed568e

View File

@ -1,12 +1,14 @@
%global upstream_name psqlodbc
Name: postgresql-odbc Name: postgresql-odbc
Summary: PostgreSQL ODBC driver Summary: PostgreSQL ODBC driver
Version: 09.05.0400 Version: 09.05.0400
Release: 3%{?dist} Release: 4%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Applications/Databases Group: Applications/Databases
URL: http://psqlodbc.projects.postgresql.org/ URL: http://%{upstream_name}.projects.postgresql.org/
Source0: http://ftp.postgresql.org/pub/odbc/versions/src/psqlodbc-%{version}.tar.gz Source0: http://ftp.postgresql.org/pub/odbc/versions/src/%{upstream_name}-%{version}.tar.gz
Patch0: postgresql-odbc-09.05.0210-revert-money-fix.patch Patch0: postgresql-odbc-09.05.0210-revert-money-fix.patch
Patch1: postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch Patch1: postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch
@ -14,6 +16,8 @@ Patch1: postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch
BuildRequires: unixODBC-devel postgresql-devel BuildRequires: unixODBC-devel postgresql-devel
BuildRequires: postgresql-server BuildRequires: postgresql-server
Provides: %upstream_name = %version-%release
# This spec file and ancillary files are licensed in accordance with # This spec file and ancillary files are licensed in accordance with
# the psqlodbc license. # the psqlodbc license.
@ -23,7 +27,7 @@ PostgreSQL system via ODBC (Open Database Connectivity).
%prep %prep
%autosetup -p1 -n psqlodbc-%{version} %autosetup -p1 -n %{upstream_name}-%{version}
cat <<EOF >README.rpmdist cat <<EOF >README.rpmdist
The upstream psqlodbc testsuite is distributed in '%{name}-tests' The upstream psqlodbc testsuite is distributed in '%{name}-tests'
@ -96,6 +100,9 @@ the PostgreSQL unixODBC driver.
%changelog %changelog
* Thu Oct 20 2016 Pavel Raiskup <praiskup@redhat.com> - 09.05.0400-4
- provide 'psqlodbc', we possibly should rename the package in future
* Wed Oct 05 2016 Pavel Raiskup <praiskup@redhat.com> - 09.05.0400-3 * Wed Oct 05 2016 Pavel Raiskup <praiskup@redhat.com> - 09.05.0400-3
- depend on postgresql-setup 5.0 (in postgresql-devel package) - depend on postgresql-setup 5.0 (in postgresql-devel package)