Last active
October 18, 2019 15:48
-
-
Save borisisok/4de11f3283ccafaa10ea523871624899 to your computer and use it in GitHub Desktop.
Centos 8 - rebuild rpm packages using dnf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prepare builds | |
dnf install mock | |
adduser mockbuild | |
usermod -a -G mock mockbuild | |
# rebuild collectd | |
dnf install epel-release | |
dnf config-manager --set-enabled PowerTools | |
su - mockbuild | |
mock -r epel-8-x86_64 --init | |
dnf download collectd --source | |
dnf builddep collectd-5.9.0-4.el8.src.rpm --nobest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment