Skip to content

Commit

Permalink
Use zlib-ng for Fedora
Browse files Browse the repository at this point in the history
It should be ABI compatible with the old zlib

https://fedoraproject.org/wiki/Changes/ZlibNGTransition
  • Loading branch information
Jakuje committed May 16, 2024
1 parent 9a484a9 commit 865cb43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/setup-fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ fi

# 64bit or 32bit dependencies
if [ "$1" == "ix86" ]; then
DEPS="$DEPS pcsc-lite-devel*.i686 readline-devel*.i686 openssl-devel*.i686 zlib-devel*.i686 libcmocka-devel*.i686 glibc-devel*i686"
DEPS="$DEPS pcsc-lite-devel*.i686 readline-devel*.i686 openssl-devel*.i686 zlib-ng-devel*.i686 libcmocka-devel*.i686 glibc-devel*i686"
else
DEPS="$DEPS pcsc-lite-devel readline-devel openssl-devel zlib-devel libcmocka-devel"
DEPS="$DEPS pcsc-lite-devel readline-devel openssl-devel zlib-ng-devel libcmocka-devel"
fi

sudo dnf install -y $DEPS
Expand Down
2 changes: 1 addition & 1 deletion packaging/opensc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ BuildRequires: /usr/bin/xsltproc
BuildRequires: docbook-style-xsl
BuildRequires: autoconf automake libtool gcc
BuildRequires: bash-completion
BuildRequires: zlib-devel
BuildRequires: zlib-ng-devel
# For tests
BuildRequires: libcmocka-devel
BuildRequires: vim-common
Expand Down

0 comments on commit 865cb43

Please sign in to comment.