diff --git a/SPECS/centos-release-ovirt45.spec b/SPECS/centos-release-ovirt45.spec index 79f1e8f..4f41fab 100644 --- a/SPECS/centos-release-ovirt45.spec +++ b/SPECS/centos-release-ovirt45.spec @@ -1,7 +1,7 @@ Summary: oVirt 4.5 packages from the CentOS Virtualization SIG repository Name: centos-release-ovirt45 Version: 1.0 -Release: 0.1%{?dist} +Release: 0.2%{?dist} License: GPLv2 URL: http://wiki.centos.org/SpecialInterestGroup/Virtualization Source0: CentOS-oVirt-4.5.repo @@ -18,23 +18,36 @@ Requires: centos-release-virt-common Requires: centos-release-openstack-xena # Missing gluster release package for Gluster 10 +Requires(post): python3-dnf-plugins-core + %description Configuration and basic docs for oVirt 4.5 packages as delivered via the CentOS Virtualization SIG. + %prep cp %{SOURCE1} . + %build # nothing to build %install install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/CentOS-oVirt-4.5.repo + +%post +# Ensuring powertools repository is enabled +dnf config-manager --set-enabled powertools + + %files %config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-oVirt-4.5.repo %license COPYING %changelog +* Fri Feb 04 2022 Sandro Bonazzola - 1.0-0.2 +- Ensure powertools repo is enabled + * Tue Feb 01 2022 Sandro Bonazzola - 1.0-0.1 - Initial pre-release packaging