Skip to content

Copr packaging - #489

Closed
xgerman wants to merge 3 commits into
documentdb:mainfrom
xgerman:copr-packaging
Closed

xgerman wants to merge 3 commits into
documentdb:mainfrom
xgerman:copr-packaging

Conversation

@xgerman

@xgerman xgerman commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@xgerman
xgerman requested review from a team, lichoil and shuaitian-git as code owners March 10, 2026 16:15
German and others added 2 commits March 10, 2026 15:19
Add three new files for Copr-based RPM distribution targeting Fedora + PG 18:

- packaging/rpm/spec/documentdb-copr.spec: Copr-compatible spec producing
  three binary RPMs (postgresql18-documentdb, documentdb-gateway,
  documentdb-server meta-package). Builds vendored libbson and Intel
  Decimal Math Library in-tree; uses system pcre2-devel.

- .copr/Makefile: SRPM builder for Copr SCM integration. Downloads
  vendored sources, creates cargo vendor tarball, and produces the SRPM.

- packaging/README.md: Documents Copr project setup, SCM integration,
  external PGDG repo configuration, and user installation instructions.

Co-authored-by: Copilot <[email protected]>
Tested successfully on both amd64 and arm64. Uses AlmaLinux 9 with
PGDG repos, EPEL, CRB, and COPR xgerman/DocumentDB repo. Verifies
documentdb_core and documentdb extensions load correctly.

Co-authored-by: Copilot <[email protected]>
@xgerman
xgerman force-pushed the copr-packaging branch 4 times, most recently from 9e73245 to fc7d57d Compare March 11, 2026 15:46
Fedora 42/43/Rawhide: use native distro PostgreSQL, native pgvector
and PostGIS, vendor pg_cron (not in Fedora repos).

EL9: keep PGDG PG 18 with all PGDG extensions, pcre2 vendoring,
and Rust floor_char_boundary polyfill.

Spec uses %if 0%{?fedora} conditionals throughout for package names,
paths, BuildRequires, Requires, and vendored components.

Also adds with_llvm=no to avoid PGDG llvm-lto dependency on Fedora.

Co-authored-by: Copilot <[email protected]>
Signed-off-by: German <[email protected]>
@xgerman

xgerman commented Apr 2, 2026

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant