Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an RPM spec for packaging #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions rpm.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
Name: sqlite_fdw
Version: 1.3.1
Release: 1%{?dist}
Summary: SQLite Foreign Data Wrapper for PostgreSQL

# Group:
License: https://github.com/pgspider/sqlite_fdw/blob/master/License
URL: https://github.com/pgspider/sqlite_fdw
Source0: https://github.com/pgspider/sqlite_fdw/archive/v%{version}.tar.gz

BuildRequires: sqlite-devel libpq-devel make postgresql-server-devel
Requires: postgresql

%description
SQLite Foreign Data Wrapper for PostgreSQL

%prep
%setup -q


%build
make %{?_smp_mflags} USE_PGXS=1


%install
%make_install USE_PGXS=1


%files
%doc README.md
%license License
## /usr/lib/debug/usr/lib64/pgsql/sqlite_fdw.so-%{version}-1%{?dist}.x86_64.debug
%{_libdir}/pgsql/sqlite_fdw.so
%{_datadir}/pgsql/extension/sqlite_fdw--1.0.sql
%{_datadir}/pgsql/extension/sqlite_fdw.control





%changelog
* Thu Jan 14 2021 hrkuma - 1.3.1
- Support function pushdown in the target list (for PGSpider)
- Support Windows build using Visual Studio project
- Fix FETCH ... WITH TIES issue
- Fix sqlite_fdw does not bind the correct numeric value when it is sub-query