%define _duplicate_files_terminate_build 0
-%define _rc rc4
-%define rel 0.%{_rc}.2
+%define rel 4
%define pname zfs
Summary: Native Linux port of the ZFS filesystem
Summary(pl.UTF-8): Natywny linuksowy port systemu plików ZFS
Name: %{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel}
-Version: 0.8.0
+Version: 0.8.1
Release: %{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}}
License: CDDL
Group: Applications/System
#Source0: https://github.com/zfsonlinux/zfs/releases/download/zfs-%{version}/%{pname}-%{version}.tar.gz
-Source0: https://github.com/zfsonlinux/zfs/archive/zfs-%{version}-%{_rc}/%{pname}-%{version}-%{_rc}.tar.gz
-# Source0-md5: 9630df590251ad13a347b10fd46c0922
+Source0: https://github.com/zfsonlinux/zfs/archive/zfs-%{version}/%{pname}-%{version}.tar.gz
+# Source0-md5: db6618a09f6494e1126b14a1302f77c8
Patch0: x32.patch
Patch1: am.patch
-Patch2: highmem.patch
-Patch3: zfs-sh.patch
+Patch2: %{pname}-sh.patch
+Patch3: kernel-5.3.patch
URL: http://zfsonlinux.org/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
%{?with_kernel:%{expand:%create_kernel_packages}}
%prep
-%setup -q -n %{pname}-zfs-%{version}-%{_rc}
+%setup -q -n %{pname}-zfs-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%if %{with userspace}
%configure \
--disable-silent-rules \
+ --enable-systemd \
--with-config="user" \
--with-linux=%{_kernelsrcdir} \
--with-systemdunitdir=%{systemdunitdir} \