diff --git a/erofs-utils-1.6.tar.gz b/erofs-utils-1.6.tar.gz deleted file mode 100644 index 11e7f017e1aa60324e8c59deda26bf378420c7d8..0000000000000000000000000000000000000000 Binary files a/erofs-utils-1.6.tar.gz and /dev/null differ diff --git a/erofs-utils-1.7.1.tar.gz b/erofs-utils-1.7.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..286b0a80b1384ddc9b3a08a94feca5ecc500b7c2 Binary files /dev/null and b/erofs-utils-1.7.1.tar.gz differ diff --git a/erofs-utils.spec b/erofs-utils.spec index e8304d55450a4ed565b92bc49eb86526a33dc41d..b7dcd4c1d0842a940802eb33c444bd03ef5bdcfc 100644 --- a/erofs-utils.spec +++ b/erofs-utils.spec @@ -1,12 +1,14 @@ %define anolis_release 1 +%bcond_with libdeflate %bcond_without fuse %bcond_without lz4 %bcond_without lzma %bcond_without selinux %bcond_without uuid +%bcond_without zlib Name: erofs-utils -Version: 1.6 +Version: 1.7.1 Release: %{anolis_release}%{?dist} Summary: Utilities for working with EROFS @@ -18,6 +20,8 @@ Source: %{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: libtool BuildRequires: make + +%{?with_libdeflate:BuildRequires: pkgconfig(libdeflate)} %if %{with fuse} BuildRequires: pkgconfig(fuse) >= 2.6 %endif @@ -33,6 +37,7 @@ BuildRequires: pkgconfig(libselinux) %if %{with uuid} BuildRequires: pkgconfig(uuid) %endif +%{?with_zlib:BuildRequires: pkgconfig(zlib)} %description EROFS stands for Enhanced Read-Only File System. It aims to be a general @@ -68,11 +73,13 @@ autoreconf -fi %build %configure \ + --%{?with_libdeflate:with}%{!?with_libdeflate:without}-libdeflate \ %{?with_fuse:--enable-fuse} %{!?with_fuse:--disable-fuse} \ %{?with_lz4:--enable-lz4} %{!?with_lz4:--disable-lz4} \ %{?with_lzma:--enable-lzma} %{!?with_lzma:--disable-lzma} \ %{?with_selinux:--with-selinux} %{!?with_selinux:--without-selinux} \ - %{?with_uuid:--with-uuid} %{!?with_uuid:--without-uuid} + %{?with_uuid:--with-uuid} %{!?with_uuid:--without-uuid} \ + --%{?with_zlib:with}%{!?with_zlib:without}-zlib %make_build %install @@ -99,5 +106,8 @@ autoreconf -fi %doc AUTHORS ChangeLog README docs/PERFORMANCE.md docs/compress-hints.example %changelog +* Fri Oct 20 2023 Gao Xiang - 1.7.1-1 +- Update to the 1.7.1 release. + * Tue Aug 08 2023 Gao Xiang - 1.6-1 - Initial package.