Skip to content

Commit

Permalink
snapd: AL2023 does not have xdelta
Browse files Browse the repository at this point in the history
xdelta was removed from Amazon Linux 2023, see
https://docs.aws.amazon.com/linux/al2023/release-notes/removed-AL2023.3-AL2.html
for reference.

Signed-off-by: Maciek Borzecki <[email protected]>
  • Loading branch information
bboozzoo committed Jan 30, 2024
1 parent 7734dce commit 01348fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion snapd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

Name: snapd
Version: 2.61.1
Release: 1%{?dist}.2
Release: 1%{?dist}.3
Summary: A transactional software package manager
License: GPLv3
URL: https://%{provider_prefix}
Expand Down Expand Up @@ -135,8 +135,10 @@ Requires: ((squashfuse and fuse) or kmod(squashfs.ko))

# Require xdelta for delta updates of snap packages.
%if 0%{?fedora} || ( 0%{?rhel} && 0%{?rhel} > 8 )
%if ! 0%{?amzn2023}
Requires: xdelta
%endif
%endif

# bash-completion owns /usr/share/bash-completion/completions
Requires: bash-completion
Expand Down Expand Up @@ -997,6 +999,9 @@ fi


%changelog
* Mon Jan 29 2024 Maciek Borzecki <[email protected]> - 2.61.1-1.%{dist}.3
- Drop dependency on xdelta where on target where it is not available

* Mon Jan 29 2024 Maciek Borzecki <[email protected]> - 2.61.1-1.%{dist}.2
- Refine packaging for Amazon Linux 2023

Expand Down

0 comments on commit 01348fb

Please sign in to comment.