-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump to version 2.0.2 and add PostgreSQL 13
- Loading branch information
1 parent
b049006
commit edb4a50
Showing
11 changed files
with
124 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
%define PG_SVER 10 | ||
|
||
Name: postgresql-%{PG_SVER}-tds_fdw | ||
Version: 2.0.1 | ||
Version: 2.0.2 | ||
Release: 0%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL %{PG_VER} | ||
License: None | ||
|
@@ -67,6 +67,9 @@ mv %{buildroot}%{PG_DOC}/README.tds_fdw.md %{buildroot}%{MOD_DOC}/README.md | |
%doc %{MOD_DOC}/README.md | ||
|
||
%changelog | ||
* Sat Sep 26 2020 Julio Gonzalez Gil <[email protected]> 2.0.2-0 | ||
- 2.0.2 from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Tue Dec 03 2019 Julio Gonzalez Gil <[email protected]> 2.0.1-0 | ||
- 2.0.1 from https://github.com/tds-fdw/tds_fdw | ||
- SPEC cleanup to allow easier maintenance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
%define PG_SVER 11 | ||
|
||
Name: postgresql-%{PG_SVER}-tds_fdw | ||
Version: 2.0.1 | ||
Version: 2.0.2 | ||
Release: 0%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL %{PG_VER} | ||
License: None | ||
|
@@ -83,6 +83,9 @@ mv %{buildroot}%{PG_DOC}/README.tds_fdw.md %{buildroot}%{MOD_DOC}/README.md | |
%endif | ||
|
||
%changelog | ||
* Sat Sep 26 2020 Julio Gonzalez Gil <[email protected]> 2.0.2-0 | ||
- 2.0.2 from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Tue Dec 03 2019 Julio Gonzalez Gil <[email protected]> 2.0.1-0 | ||
- 2.0.1 from https://github.com/tds-fdw/tds_fdw | ||
- SPEC cleanup to allow easier maintenance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
%define PG_SVER 12 | ||
|
||
Name: postgresql-%{PG_SVER}-tds_fdw | ||
Version: 2.0.1 | ||
Version: 2.0.2 | ||
Release: 0%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL %{PG_VER} | ||
License: None | ||
|
@@ -83,6 +83,9 @@ mv %{buildroot}%{PG_DOC}/README.tds_fdw.md %{buildroot}%{MOD_DOC}/README.md | |
%endif | ||
|
||
%changelog | ||
* Sat Sep 26 2020 Julio Gonzalez Gil <[email protected]> 2.0.2-0 | ||
- 2.0.2 from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Tue Dec 03 2019 Julio Gonzalez Gil <[email protected]> 2.0.1-0 | ||
- 2.0.1 from https://github.com/tds-fdw/tds_fdw | ||
- SPEC cleanup to allow easier maintenance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
%define PG_VER 13 | ||
%define PG_SVER 13 | ||
|
||
Name: postgresql-%{PG_SVER}-tds_fdw | ||
Version: 2.0.2 | ||
Release: 0%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL %{PG_VER} | ||
License: None | ||
URL: https://github.com/tds-fdw/tds_fdw | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v%{version}.tar.gz | ||
|
||
Provides: tds_fdw%{PG_SVER} | ||
|
||
Requires: postgresql%{PG_SVER} >= %{PG_VER}.0 | ||
Requires: postgresql%{PG_SVER}-server >= %{PG_VER}.0 | ||
%if ! 0%{?suse_version} | ||
Requires: postgresql%{PG_SVER}-libs >= %{PG_VER}.0 | ||
%endif | ||
Requires: freetds >= 0.91 | ||
|
||
BuildRequires: gcc | ||
BuildRequires: freetds-devel | ||
BuildRequires: make | ||
%if 0%{?suse_version} | ||
BuildRequires: postgresql%{PG_SVER}-server-devel | ||
%else | ||
BuildRequires: postgresql%{PG_SVER}-devel | ||
%endif | ||
|
||
%if 0%{?suse_version} | ||
%define PG_BIN %{_prefix}/lib/postgresql%{PG_SVER}/bin | ||
%define PG_LIB %{_prefix}/lib/postgresql%{PG_SVER}/%{_lib} | ||
%define PG_DATA %{_datadir}/postgresql%{PG_SVER} | ||
%define PG_DOC %{_docdir}/postgresql%{PG_SVER}/extension | ||
%define MOD_DOC %{_docdir}/%{name} | ||
%if 0%{?suse_version} >= 1500 | ||
%define PG_BITCODEDIR %{_prefix}/lib/postgresql%{PG_SVER}/%{_lib}/bitcode | ||
%endif | ||
%else | ||
%define PG_BIN %{_prefix}/pgsql-%{PG_VER}/bin | ||
%define PG_LIB %{_prefix}/pgsql-%{PG_VER}/lib | ||
%define PG_DATA %{_prefix}/pgsql-%{PG_VER}/share | ||
%define PG_DOC %{_prefix}/pgsql-%{PG_VER}/doc/extension | ||
%define MOD_DOC %{_docdir}/%{name} | ||
%if 0%{?rhel} >= 7 | ||
%define PG_BITCODEDIR /usr/pgsql-%{PG_VER}/lib/bitcode/ | ||
%endif | ||
%endif | ||
|
||
%description | ||
This is a PostgreSQL foreign data wrapper that can connect to databases that | ||
use the Tabular Data Stream (TDS) protocol, such as Sybase databases and | ||
Microsoft SQL server. | ||
. | ||
It does not yet support write operations, as added in PostgreSQL %{PG_VER}. | ||
|
||
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup -q -n tds_fdw-%{version} | ||
|
||
%build | ||
PATH=%{PG_BIN}/:$PATH make USE_PGXS=1 | ||
|
||
%install | ||
PATH=%{PG_BIN}/:$PATH make USE_PGXS=1 install DESTDIR=%{buildroot} | ||
mkdir -p %{buildroot}%{MOD_DOC} | ||
mv %{buildroot}%{PG_DOC}/README.tds_fdw.md %{buildroot}%{MOD_DOC}/README.md | ||
|
||
%files | ||
%attr(755, root, root)%{PG_LIB}/tds_fdw.so | ||
%dir %attr(755, root, root)%{PG_DATA} | ||
%dir %attr(755, root, root)%{PG_DATA}/extension | ||
%attr(644, root, root)%{PG_DATA}/extension/tds_fdw--%{version}.sql | ||
%attr(644, root, root)%{PG_DATA}/extension/tds_fdw.control | ||
%dir %attr(755, root, root)%{MOD_DOC} | ||
%doc %{MOD_DOC}/README.md | ||
%if 0%{?rhel} >= 7 || 0%{?suse_version} >= 1500 | ||
%attr(644, root, root)%{PG_BITCODEDIR}/tds_fdw.index.bc | ||
%attr(644, root, root)%{PG_BITCODEDIR}/tds_fdw/src/deparse.bc | ||
%attr(644, root, root)%{PG_BITCODEDIR}/tds_fdw/src/options.bc | ||
%attr(644, root, root)%{PG_BITCODEDIR}/tds_fdw/src/tds_fdw.bc | ||
%endif | ||
|
||
%changelog | ||
* Sat Sep 26 2020 Julio Gonzalez Gil <[email protected]> 2.0.2-0 | ||
- 2.0.2 from https://github.com/tds-fdw/tds_fdw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
%define PG_SVER 93 | ||
|
||
Name: postgresql-%{PG_SVER}-tds_fdw | ||
Version: 2.0.1 | ||
Version: 2.0.2 | ||
Release: 0%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL %{PG_VER} | ||
License: None | ||
|
@@ -67,6 +67,9 @@ mv %{buildroot}%{PG_DOC}/README.tds_fdw.md %{buildroot}%{MOD_DOC}/README.md | |
%doc %{MOD_DOC}/README.md | ||
|
||
%changelog | ||
* Sat Sep 26 2020 Julio Gonzalez Gil <[email protected]> 2.0.2-0 | ||
- 2.0.2 from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Tue Dec 03 2019 Julio Gonzalez Gil <[email protected]> 2.0.1-0 | ||
- 2.0.1 from https://github.com/tds-fdw/tds_fdw | ||
- SPEC cleanup to allow easier maintenance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
%define PG_SVER 94 | ||
|
||
Name: postgresql-%{PG_SVER}-tds_fdw | ||
Version: 2.0.1 | ||
Version: 2.0.2 | ||
Release: 0%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL %{PG_VER} | ||
License: None | ||
|
@@ -67,6 +67,9 @@ mv %{buildroot}%{PG_DOC}/README.tds_fdw.md %{buildroot}%{MOD_DOC}/README.md | |
%doc %{MOD_DOC}/README.md | ||
|
||
%changelog | ||
* Sat Sep 26 2020 Julio Gonzalez Gil <[email protected]> 2.0.2-0 | ||
- 2.0.2 from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Tue Dec 03 2019 Julio Gonzalez Gil <[email protected]> 2.0.1-0 | ||
- 2.0.1 from https://github.com/tds-fdw/tds_fdw | ||
- SPEC cleanup to allow easier maintenance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
%define PG_SVER 95 | ||
|
||
Name: postgresql-%{PG_SVER}-tds_fdw | ||
Version: 2.0.1 | ||
Version: 2.0.2 | ||
Release: 0%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL %{PG_VER} | ||
License: None | ||
|
@@ -67,6 +67,9 @@ mv %{buildroot}%{PG_DOC}/README.tds_fdw.md %{buildroot}%{MOD_DOC}/README.md | |
%doc %{MOD_DOC}/README.md | ||
|
||
%changelog | ||
* Sat Sep 26 2020 Julio Gonzalez Gil <[email protected]> 2.0.2-0 | ||
- 2.0.2 from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Tue Dec 03 2019 Julio Gonzalez Gil <[email protected]> 2.0.1-0 | ||
- 2.0.1 from https://github.com/tds-fdw/tds_fdw | ||
- SPEC cleanup to allow easier maintenance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
%define PG_SVER 96 | ||
|
||
Name: postgresql-%{PG_SVER}-tds_fdw | ||
Version: 2.0.1 | ||
Version: 2.0.2 | ||
Release: 0%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL %{PG_VER} | ||
License: None | ||
|
@@ -67,6 +67,9 @@ mv %{buildroot}%{PG_DOC}/README.tds_fdw.md %{buildroot}%{MOD_DOC}/README.md | |
%doc %{MOD_DOC}/README.md | ||
|
||
%changelog | ||
* Sat Sep 26 2020 Julio Gonzalez Gil <[email protected]> 2.0.2-0 | ||
- 2.0.2 from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Tue Dec 03 2019 Julio Gonzalez Gil <[email protected]> 2.0.1-0 | ||
- 2.0.1 from https://github.com/tds-fdw/tds_fdw | ||
- SPEC cleanup to allow easier maintenance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters