Hello community,

here is the log from the commit of package pg_cron for openSUSE:Factory checked 
in at 2019-03-13 09:11:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pg_cron (Old)
 and      /work/SRC/openSUSE:Factory/.pg_cron.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pg_cron"

Wed Mar 13 09:11:39 2019 rev:1 rq:667149 version:1.1.3

Changes:
--------
New Changes file:

--- /dev/null   2018-10-29 14:05:42.522318975 +0100
+++ /work/SRC/openSUSE:Factory/.pg_cron.new.28833/pg_cron.changes       
2019-03-13 09:11:42.279408569 +0100
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Sat Jan 19 12:04:43 UTC 2019 - Andrey Karepin <egdf...@opensuse.org>
+
+- fix build with PostgreSQL 11 and extract just-in-time compiling
+  parts to llvmjit subpackage
+
+-------------------------------------------------------------------
+Thu Jan 17 19:00:37 UTC 2019 - Andrey Karepin <egdf...@opensuse.org>
+
+- initial

New:
----
  _multibuild
  pg_cron-1.1.3.tar.gz
  pg_cron.changes
  pg_cron.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pg_cron.spec ++++++
#
# spec file for package pg_cron
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define         pgversion @BUILD_FLAVOR@
%define         priority %{pgversion}
%define         sname pg_cron
%define         pg_libdir %(pg_config --pkglibdir)
%define         pg_share %(pg_config --sharedir)
%if "%{pgversion}" == "postgresql11" && 0%{?suse_version} >= 1500 
%bcond_without  llvm
%else
%bcond_with     llvm
%endif
Name:           %{pgversion}-%{sname}
Version:        1.1.3
Release:        0
Summary:        PostgreSQL module for simple job schedule
License:        PostgreSQL
Group:          Productivity/Databases/Servers
URL:            https://github.com/citusdata/pg_cron
Source:         %{sname}-%{version}.tar.gz
BuildRequires:  %{pgversion}-server
BuildRequires:  %{pgversion}-server-devel
%requires_eq    %{pgversion}-server
%if "%{pgversion}" == ""
Name:           %{sname}
ExclusiveArch:  do_not_build
%endif

%description
%{sname} is a simple cron-based job scheduler for PostgreSQL (9.5 or higher)
that runs inside the database as an extension. It uses the same syntax as
regular cron, but it allows you to schedule PostgreSQL commands directly from
the database.

%if %{with llvm}
%package llvmjit
Summary:        Just-in-time compilation support for PostgreSQL pg_cron 
extension
Group:          Productivity/Databases/Servers
Requires:       %{pgversion}-server
Requires:       postgresql-llvmjit-noarch

%description llvmjit
This package contains support for just-in-time compiling parts of
PostgreSQL queries. Using LLVM it compiles e.g. expressions and tuple
deforming into native code, with the goal of accelerating analytics
queries.
%endif

%prep
%setup -q -n %{sname}-%{version}

%build
export PATH="$PATH:%{_libexecdir}/%{pgname}/bin"
make %{?_smp_mflags}

%install
%make_install

%post
%{_datadir}/postgresql/install-alternatives %{priority}

%postun
%{_datadir}/postgresql/install-alternatives %{priority}

%files
%license LICENSE
%doc CHANGELOG.md README.md
%{_datadir}/%{pgversion}/extension/%{sname}*
%{pg_libdir}/%{sname}.so

%if %{with llvm}
%files llvmjit
%{pg_libdir}/bitcode/*
%endif

%changelog
++++++ _multibuild ++++++
<multibuild>
  <package>postgresql95</package>
  <package>postgresql96</package>
  <package>postgresql10</package>
  <package>postgresql11</package>
</multibuild>

Reply via email to