## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: pg_cron Version: 1.6.8 Release: %autorelease Summary: A simple cron-based job scheduler for PostgreSQL License: PostgreSQL URL: https://github.com/citusdata/%{name} Source0: https://github.com/citusdata/%{name}/archive/refs/tags/v%{version}.tar.gz # drop i686 support (https://fedoraproject.org/wiki/Changes/Noi686Repositories) ExcludeArch: %{ix86} BuildRequires: make gcc redhat-rpm-config BuildRequires: postgresql-server-devel Requires: postgresql-server %description pg_cron is a simple cron-based job scheduler for PostgreSQL (10 or higher) that runs inside the database as an extension. The extension creates a background worker that tracks jobs in the `cron.job` table. Based on your configurations, to execute a job, the extension establishes a Postgres connection or spawns a database worker. %prep %autosetup %build %make_build %install %make_install # Running tests is impossible without compiling own postgres # (hard-coded location for extensions). Omitting check phase # Integration tests are in gating. %files %{_libdir}/pgsql/%{name}.so %{_datadir}/pgsql/extension/%{name}.control %{_datadir}/pgsql/extension/%{name}--1*.sql %license LICENSE %doc CHANGELOG.md README.md %changelog ## START: Generated by rpmautospec * Mon Sep 14 2026 Unknown User - 1.6.8-1 - Uncommitted changes * Wed Sep 09 2026 Daniel Handzus - 1.6.7-1 - Initial import ## END: Generated by rpmautospec