Skip to content

Commit

Permalink
packaging/spec: remove kernel_install conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrero committed Jan 29, 2025
1 parent f87ee96 commit 9ce0ffa
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packaging/rpm-ostree.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9ce0ffa

Please sign in to comment.