-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix repmgr build in mock #341
Conversation
bdunne
commented
Nov 22, 2022
- Ensure postgres is v13
- Ensure the postgres 13 module is enabled for build
- Ensure postgres is v13 - Ensure the postgres 13 module is enabled for build
@@ -3,5 +3,5 @@ Build with: | |||
Fetch source files from https://rpm-manageiq-org.nyc3.digitaloceanspaces.com/index.html?prefix=sources_cache/repmgr13/ if needed. | |||
|
|||
```bash | |||
mock --spec=./repmgr.spec -r centos-stream+epel-8-x86_64 --sources=./ | |||
mock --spec=./repmgr.spec -r centos-stream+epel-8-x86_64 --config-opts=module_setup_commands.module_install=postgresql:13 --sources=./ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow.
@@ -46,7 +46,7 @@ Requires(postun): initscripts | |||
Group: Applications/Databases | |||
BuildRoot: %{_tmppath}/%{name}-%{version}%{extra_version}-%{release}-root-%(%{__id_u} -n) | |||
%endif | |||
BuildRequires: postgresql, postgresql-devel, postgresql-static | |||
BuildRequires: postgresql >= 13, postgresql < 14, postgresql-devel, postgresql-static |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@bdunne A conflict occurred during the backport of this pull request to If this pull request is based on another pull request that has not been marked for backport, add the appropriate labels to the other pull request. Otherwise, please create a new pull request direct to the Conflict details: * Unmerged path packages/repmgr13/README |
Backported to
|
(cherry picked from commit f51e0d8)