[CDRIVER-4794] Test building RPM with EPEL packages Created: 07/Dec/23  Updated: 04/Jan/24

Status: Backlog
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Unknown
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Tested
is testing CDRIVER-4767 Please provide a usable archive Investigating
Quarter: FY25Q1

 Description   

Scope

Test building RPM with EPEL packages.

Background & Motivation

CDRIVER-4767 was filed due to changes in documentation dependencies that broke builds for EPEL:

The C driver currently tests building the RPM package with the mongo-c-driver.spec on RHEL 9.0.

Testing building with EPEL packages may help to prevent future breakage.

Consider using Rocky Linux for testing: https://hub.docker.com/_/rockylinux. Example Dockerfile:

FROM rockylinux:8
RUN yum install -y epel-release
RUN yum install -y mongo-c-driver
RUN yum install -y cmake
RUN yum install -y gcc
RUN yum install -y python3-sphinx
# Enable powertools repository for `python3-sphinx`
RUN yum config-manager --set-enabled powertools
RUN yum install -y python3-sphinx

$ docker build . -t rocky-mongoc
$ docker run --rm -it rocky-mongoc


Generated at Wed Feb 07 21:21:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.