-
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.
- Loading branch information
1 parent
46ad7dc
commit 4e1cd24
Showing
8 changed files
with
113 additions
and
27 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Name: postgresql-10-tds_fdw | ||
Version: 2.0.0 | ||
Release: alpha.2.1%{?dist} | ||
Release: alpha.3.1%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL 10.0 | ||
|
||
License: None | ||
URL: https://github.com/tds-fdw/tds_fdw | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.2.tar.gz | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.3.tar.gz | ||
|
||
Requires: postgresql10 >= 10.0 | ||
Requires: postgresql10-server >= 10.0 | ||
|
@@ -27,7 +27,7 @@ It does not yet support write operations, as added in PostgreSQL 9.3. | |
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup -q -n tds_fdw-2.0.0-alpha.2 | ||
%setup -q -n tds_fdw-2.0.0-alpha.3 | ||
|
||
|
||
%build | ||
|
@@ -45,14 +45,17 @@ rm -rf %{buildroot} | |
|
||
%files | ||
%attr(755, root, root)/usr/pgsql-10/lib/tds_fdw.so | ||
%attr(644, root, root)/usr/pgsql-10/share/extension/tds_fdw--2.0.0-alpha.2.sql | ||
%attr(644, root, root)/usr/pgsql-10/share/extension/tds_fdw--2.0.0-alpha.3.sql | ||
%attr(644, root, root)/usr/pgsql-10/share/extension/tds_fdw.control | ||
%doc /usr/share/doc/%{name}-%{version}/README.md | ||
|
||
|
||
|
||
%changelog | ||
|
||
* Sat Jan 19 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.3.1 | ||
- 2.0.0-alpha.3 build from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Fri Jan 18 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.2.1 | ||
- Initial build of 2.0.0-alpha.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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
Name: postgresql-11-tds_fdw | ||
Version: 2.0.0 | ||
Release: alpha.3.1%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL 11 | ||
|
||
License: None | ||
URL: https://github.com/tds-fdw/tds_fdw | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.3.tar.gz | ||
|
||
Requires: postgresql11 >= 11.0 | ||
Requires: postgresql11-server >= 11.0 | ||
Requires: postgresql11-libs >= 11.0 | ||
Requires: freetds >= 0.91 | ||
|
||
BuildRequires: gcc | ||
BuildRequires: freetds-devel | ||
BuildRequires: make | ||
BuildRequires: postgresql11-devel | ||
%if 0%{?rhel} >= 7 | ||
BuildRequires: llvm-toolset-7-clang | ||
BuildRequires: llvm5.0 | ||
%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 9.3. | ||
|
||
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup -q -n tds_fdw-2.0.0-alpha.3 | ||
|
||
|
||
%build | ||
PATH=/usr/pgsql-11/bin:$PATH make USE_PGXS=1 | ||
|
||
%install | ||
rm -rf %{buildroot} | ||
PATH=/usr/pgsql-11/bin:$PATH make USE_PGXS=1 install DESTDIR=%{buildroot} | ||
mkdir -p %{buildroot}/usr/share/doc/%{name}-%{version} | ||
mv %{buildroot}/usr/pgsql-11/doc/extension/README.tds_fdw.md %{buildroot}/usr/share/doc/%{name}-%{version}/README.md | ||
rm -rf %{buildroot}/usr/share/doc/pgsql/extension/ | ||
|
||
%clean | ||
rm -rf %{buildroot} | ||
|
||
%files | ||
%attr(755, root, root)/usr/pgsql-11/lib/tds_fdw.so | ||
%if 0%{?rhel} >= 7 | ||
%attr(644, root, root)/usr/pgsql-11/lib/bitcode/tds_fdw.index.bc | ||
%attr(644, root, root)/usr/pgsql-11/lib/bitcode/tds_fdw/src/deparse.bc | ||
%attr(644, root, root)/usr/pgsql-11/lib/bitcode/tds_fdw/src/options.bc | ||
%attr(644, root, root)/usr/pgsql-11/lib/bitcode/tds_fdw/src/tds_fdw.bc | ||
%endif | ||
%attr(644, root, root)/usr/pgsql-11/share/extension/tds_fdw--2.0.0-alpha.3.sql | ||
%attr(644, root, root)/usr/pgsql-11/share/extension/tds_fdw.control | ||
%doc /usr/share/doc/%{name}-%{version}/README.md | ||
|
||
|
||
|
||
%changelog | ||
|
||
* Sat Jan 19 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.3.1 | ||
- 2.0.0-alpha.3 build from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Fri Jan 18 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.2.1 | ||
- Initial build of 2.0.0-alpha.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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Name: postgresql-93-tds_fdw | ||
Version: 2.0.0 | ||
Release: alpha.2.1%{?dist} | ||
Release: alpha.3.1%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL 9.3 | ||
|
||
License: None | ||
URL: https://github.com/tds-fdw/tds_fdw | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.2.tar.gz | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.3.tar.gz | ||
|
||
Requires: postgresql93 >= 9.3.4 | ||
Requires: postgresql93-server >= 9.3.4 | ||
|
@@ -27,7 +27,7 @@ It does not yet support write operations, as added in PostgreSQL 9.3. | |
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup -q -n tds_fdw-2.0.0-alpha.2 | ||
%setup -q -n tds_fdw-2.0.0-alpha.3 | ||
|
||
|
||
%build | ||
|
@@ -45,14 +45,17 @@ rm -rf %{buildroot} | |
|
||
%files | ||
%attr(755, root, root)/usr/pgsql-9.3/lib/tds_fdw.so | ||
%attr(644, root, root)/usr/pgsql-9.3/share/extension/tds_fdw--2.0.0-alpha.2.sql | ||
%attr(644, root, root)/usr/pgsql-9.3/share/extension/tds_fdw--2.0.0-alpha.3.sql | ||
%attr(644, root, root)/usr/pgsql-9.3/share/extension/tds_fdw.control | ||
%doc /usr/share/doc/%{name}-%{version}/README.md | ||
|
||
|
||
|
||
%changelog | ||
|
||
* Sat Jan 19 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.3.1 | ||
- 2.0.0-alpha.3 build from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Fri Jan 18 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.2.1 | ||
- 2.0.0-alpha.2 build 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Name: postgresql-94-tds_fdw | ||
Version: 2.0.0 | ||
Release: alpha.2.1%{?dist} | ||
Release: alpha.3.1%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL 9.4 | ||
|
||
License: None | ||
URL: https://github.com/tds-fdw/tds_fdw | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.2.tar.gz | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.3.tar.gz | ||
|
||
Requires: postgresql94 >= 9.4.1 | ||
Requires: postgresql94-server >= 9.4.1 | ||
|
@@ -27,7 +27,7 @@ It does not yet support write operations, as added in PostgreSQL 9.3. | |
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup -q -n tds_fdw-2.0.0-alpha.2 | ||
%setup -q -n tds_fdw-2.0.0-alpha.3 | ||
|
||
|
||
%build | ||
|
@@ -45,14 +45,17 @@ rm -rf %{buildroot} | |
|
||
%files | ||
%attr(755, root, root)/usr/pgsql-9.4/lib/tds_fdw.so | ||
%attr(644, root, root)/usr/pgsql-9.4/share/extension/tds_fdw--2.0.0-alpha.2.sql | ||
%attr(644, root, root)/usr/pgsql-9.4/share/extension/tds_fdw--2.0.0-alpha.3.sql | ||
%attr(644, root, root)/usr/pgsql-9.4/share/extension/tds_fdw.control | ||
%doc /usr/share/doc/%{name}-%{version}/README.md | ||
|
||
|
||
|
||
%changelog | ||
|
||
* Sat Jan 19 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.3.1 | ||
- 2.0.0-alpha.3 build from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Fri Jan 18 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.2.1 | ||
- 2.0.0-alpha.2 build 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Name: postgresql-95-tds_fdw | ||
Version: 2.0.0 | ||
Release: alpha.2.1%{?dist} | ||
Release: alpha.3.1%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL 9.5 | ||
|
||
License: None | ||
URL: https://github.com/tds-fdw/tds_fdw | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.2.tar.gz | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.3.tar.gz | ||
|
||
Requires: postgresql95 >= 9.5.1 | ||
Requires: postgresql95-server >= 9.5.1 | ||
|
@@ -27,7 +27,7 @@ It does not yet support write operations, as added in PostgreSQL 9.3. | |
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup -q -n tds_fdw-2.0.0-alpha.2 | ||
%setup -q -n tds_fdw-2.0.0-alpha.3 | ||
|
||
|
||
%build | ||
|
@@ -45,14 +45,17 @@ rm -rf %{buildroot} | |
|
||
%files | ||
%attr(755, root, root)/usr/pgsql-9.5/lib/tds_fdw.so | ||
%attr(644, root, root)/usr/pgsql-9.5/share/extension/tds_fdw--2.0.0-alpha.2.sql | ||
%attr(644, root, root)/usr/pgsql-9.5/share/extension/tds_fdw--2.0.0-alpha.3.sql | ||
%attr(644, root, root)/usr/pgsql-9.5/share/extension/tds_fdw.control | ||
%doc /usr/share/doc/%{name}-%{version}/README.md | ||
|
||
|
||
|
||
%changelog | ||
|
||
* Sat Jan 19 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.3.1 | ||
- 2.0.0-alpha.3 build from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Fri Jan 18 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.2.1 | ||
- 2.0.0-alpha.2 build 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
Name: postgresql-96-tds_fdw | ||
Version: 2.0.0 | ||
Release: alpha.2.1%{?dist} | ||
Release: alpha.3.1%{?dist} | ||
Summary: TDS foreing data wrapper for PostgreSQL 9.6 | ||
|
||
License: None | ||
URL: https://github.com/tds-fdw/tds_fdw | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.2.tar.gz | ||
Source: https://github.com/tds-fdw/tds_fdw/archive/v2.0.0-alpha.3.tar.gz | ||
|
||
Requires: postgresql96 >= 9.6.1 | ||
Requires: postgresql96-server >= 9.6.1 | ||
|
@@ -27,7 +27,7 @@ It does not yet support write operations, as added in PostgreSQL 9.3. | |
%global debug_package %{nil} | ||
|
||
%prep | ||
%setup -q -n tds_fdw-2.0.0-alpha.2 | ||
%setup -q -n tds_fdw-2.0.0-alpha.3 | ||
|
||
|
||
%build | ||
|
@@ -45,14 +45,17 @@ rm -rf %{buildroot} | |
|
||
%files | ||
%attr(755, root, root)/usr/pgsql-9.6/lib/tds_fdw.so | ||
%attr(644, root, root)/usr/pgsql-9.6/share/extension/tds_fdw--2.0.0-alpha.2.sql | ||
%attr(644, root, root)/usr/pgsql-9.6/share/extension/tds_fdw--2.0.0-alpha.3.sql | ||
%attr(644, root, root)/usr/pgsql-9.6/share/extension/tds_fdw.control | ||
%doc /usr/share/doc/%{name}-%{version}/README.md | ||
|
||
|
||
|
||
%changelog | ||
|
||
* Sat Jan 19 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.3.1 | ||
- 2.0.0-alpha.3 build from https://github.com/tds-fdw/tds_fdw | ||
|
||
* Fri Jan 18 2019 Julio Gonzalez Gil <[email protected]> - 2.0.0-alpha.2.1 | ||
- 2.0.0-alpha.2 build 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