]> git.pld-linux.org Git - packages/zfs.git/blobdiff - zfs.spec
- fixes for building with kernel 5.12, rel 2
[packages/zfs.git] / zfs.spec
index 30ca6752512c664ef3001002ed178ea56f79c8d3..52cbe94cb68fe6c267579c3766e98d5c087467ae 100644 (file)
--- a/zfs.spec
+++ b/zfs.spec
@@ -24,7 +24,7 @@ exit 1
 
 %define                _duplicate_files_terminate_build        0
 
-%define        rel     1
+%define        rel     2
 %define        pname   zfs
 Summary:       Native Linux port of the ZFS filesystem
 Summary(pl.UTF-8):     Natywny linuksowy port systemu plików ZFS
@@ -37,6 +37,7 @@ Source0:      https://github.com/openzfs/zfs/releases/download/zfs-%{version}/%{pname
 # Source0-md5: 33976ba76135d6fc6f67e767a7242bd6
 Patch0:                initdir.patch
 Patch1:                am.patch
+Patch2:                kernel-5.12.patch
 URL:           https://zfsonlinux.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -285,6 +286,7 @@ p=`pwd`\
 %setup -q -n %{pname}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' \
       cmd/arc_summary/arc_summary2
This page took 0.070834 seconds and 4 git commands to generate.