diff --git a/packaging/rpm-ostree.spec b/packaging/rpm-ostree.spec index 7ccd035c59..efef2b99fa 100644 --- a/packaging/rpm-ostree.spec +++ b/packaging/rpm-ostree.spec @@ -39,12 +39,6 @@ BuildRequires: rust %else %bcond_without ostree_ext %endif -# Integrate with kernel-install -%if 0%{?rhel} >= 10 || 0%{?fedora} > 41 - %bcond_with kernel_install -%else - %bcond_without kernel_install -%endif # This is copied from the libdnf spec %if 0%{?rhel} && ! 0%{?centos} @@ -224,9 +218,6 @@ sed -i -e '/https:\/\//d' cargo-vendor.txt %if %{without ostree_ext} rm -vrf $RPM_BUILD_ROOT/usr/libexec/libostree/ext %endif -%if %{without kernel_install} -rm -vr $RPM_BUILD_ROOT/usr/lib/kernel/install.d -%endif find $RPM_BUILD_ROOT -name '*.la' -delete # I try to do continuous delivery via rpmdistro-gitoverlay while