orafce/postgresql92-orafce.spec

50 lines
1.5 KiB
RPMSpec
Raw Normal View History

#
%define gitname HEAD-36ccc5b
%define pgversion 92
%define realname orafce
Name: postgresql%{pgversion}-orafce
Version: 3.0.5a
Release: 7
Summary: Implementation of some Oracle functions into PostgreSQL
Group: Productivity/Databases/Tools
License: BSD
URL: http://pgfoundry.org/projects/orafce/
#Source0: http://pgfoundry.org/frs/download.php/2361/%{name}-%{version}.tar.gz
Source0: %{realname}-%{gitname}.tar.gz
- Update to version 9.2.4 * Fix insecure parsing of server command-line switches * Reset OpenSSL randomness state in each postmaster child process * Make REPLICATION privilege checks test current user not authenticated user * Fix GiST indexes to not use "fuzzy" geometric comparisons when it's not appropriate to do so * Fix erroneous range-union and penalty logic in GiST indexes that use contrib/btree_gist for variable-width data types, that is text, bytea, bit, and numeric columns * Fix bugs in GiST page splitting code for multi-column indexes * Fix gist_point_consistent to handle fuzziness consistently * See the release notes for the rest of the changes: http://www.postgresql.org/docs/9.2/static/release-9-2-4.html /usr/share/doc/packages/postgresql/HISTORY ------------------------------------------------------------------ - Update to version 9.2.4 * Fix insecure parsing of server command-line switches * Reset OpenSSL randomness state in each postmaster child process * Make REPLICATION privilege checks test current user not authenticated user * Fix GiST indexes to not use "fuzzy" geometric comparisons when it's not appropriate to do so * Fix erroneous range-union and penalty logic in GiST indexes that use contrib/btree_gist for variable-width data types, that is text, bytea, bit, and numeric columns * Fix bugs in GiST page splitting code for multi-column indexes * Fix gist_point_consistent to handle fuzziness consistently * See the release notes for the rest of the changes: http://www.postgresql.org/docs/9.2/static/release-9-2-4.html OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=4
2013-08-08 14:08:55 +00:00
# PATCH-FIX-UPSTREAM fix for upsteam https://github.com/orafce/orafce/pull/4
Patch1: orafce-orafce_sql_yyparse-bison26.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: postgresql%{pgversion}-devel openssl-devel krb5-devel bison flex
Requires: postgresql%{pgversion}-server
Provides: orafce
%description
The goal of this project is implementation some functions from Oracle database.
Some date functions (next_day, last_day, trunc, round, ...) are implemented
now. Functionality was verified on Oracle 10g and module is useful
for production work.
%prep
%setup -q -n %{realname}-%{gitname}
- Update to version 9.2.4 * Fix insecure parsing of server command-line switches * Reset OpenSSL randomness state in each postmaster child process * Make REPLICATION privilege checks test current user not authenticated user * Fix GiST indexes to not use "fuzzy" geometric comparisons when it's not appropriate to do so * Fix erroneous range-union and penalty logic in GiST indexes that use contrib/btree_gist for variable-width data types, that is text, bytea, bit, and numeric columns * Fix bugs in GiST page splitting code for multi-column indexes * Fix gist_point_consistent to handle fuzziness consistently * See the release notes for the rest of the changes: http://www.postgresql.org/docs/9.2/static/release-9-2-4.html /usr/share/doc/packages/postgresql/HISTORY ------------------------------------------------------------------ - Update to version 9.2.4 * Fix insecure parsing of server command-line switches * Reset OpenSSL randomness state in each postmaster child process * Make REPLICATION privilege checks test current user not authenticated user * Fix GiST indexes to not use "fuzzy" geometric comparisons when it's not appropriate to do so * Fix erroneous range-union and penalty logic in GiST indexes that use contrib/btree_gist for variable-width data types, that is text, bytea, bit, and numeric columns * Fix bugs in GiST page splitting code for multi-column indexes * Fix gist_point_consistent to handle fuzziness consistently * See the release notes for the rest of the changes: http://www.postgresql.org/docs/9.2/static/release-9-2-4.html OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/orafce?expand=0&rev=4
2013-08-08 14:08:55 +00:00
%patch1 -p1
#sed -i 's/\r//' doc/style.css
%build
make USE_PGXS=1 %{?_smp_mflags} FLEX=/usr/bin/flex
%install
rm -rf $RPM_BUILD_ROOT
make USE_PGXS=1 install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYRIGHT.orafunc INSTALL.orafunc README.orafunc
%{_prefix}/lib/postgresql%{pgversion}/%{_lib}
%{_datadir}/postgresql%{pgversion}/
%exclude %{_docdir}/postgresql%{pgversion}/