From b464a1129ff7c2a934c5df4303f0294c4e5c5158 Mon Sep 17 00:00:00 2001 From: Willow Reed Date: Mon, 15 Jun 2026 18:08:11 -0600 Subject: [PATCH] fix sbin stuff --- anda/system/openzfs/akmod/akmod-openzfs.spec | 91 ---------- anda/system/openzfs/akmod/update.rhai | 2 - anda/system/openzfs/anda.hcl | 5 + anda/system/openzfs/dkms/dkms-openzfs.spec | 115 ------------- anda/system/openzfs/dkms/update.rhai | 2 - anda/system/openzfs/gomp/anda.hcl | 5 - .../openzfs/{gomp => }/kmod-zfs.spec-preamble | 0 .../{gomp/gomp-openzfs.spec => openzfs.spec} | 65 +++++-- anda/system/openzfs/userspace/openzfs.spec | 162 ------------------ anda/system/openzfs/userspace/update.rhai | 1 - 10 files changed, 52 insertions(+), 396 deletions(-) delete mode 100644 anda/system/openzfs/akmod/akmod-openzfs.spec delete mode 100644 anda/system/openzfs/akmod/update.rhai create mode 100644 anda/system/openzfs/anda.hcl delete mode 100644 anda/system/openzfs/dkms/dkms-openzfs.spec delete mode 100644 anda/system/openzfs/dkms/update.rhai delete mode 100644 anda/system/openzfs/gomp/anda.hcl rename anda/system/openzfs/{gomp => }/kmod-zfs.spec-preamble (100%) rename anda/system/openzfs/{gomp/gomp-openzfs.spec => openzfs.spec} (94%) delete mode 100644 anda/system/openzfs/userspace/openzfs.spec delete mode 100644 anda/system/openzfs/userspace/update.rhai diff --git a/anda/system/openzfs/akmod/akmod-openzfs.spec b/anda/system/openzfs/akmod/akmod-openzfs.spec deleted file mode 100644 index 3a5d07887f..0000000000 --- a/anda/system/openzfs/akmod/akmod-openzfs.spec +++ /dev/null @@ -1,91 +0,0 @@ -%global buildforkernels akmod -%global debug_package %{nil} -%global modulename zfs - -Name: akmod-openzfs -Summary: Kernel module (kmod) for OpenZFS filesystem -Version: 2.4.3 -Release: 1%{?dist} -License: CDDL-1.0 -URL: https://github.com/openzfs/zfs -Source0: https://github.com/openzfs/zfs/releases/download/zfs-%{version}/zfs-%{version}.tar.gz - -BuildRequires: gcc -BuildRequires: make -BuildRequires: kmodtool -BuildRequires: systemd-rpm-macros -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool -BuildRequires: libtirpc-devel -BuildRequires: libblkid-devel -BuildRequires: libuuid-devel -BuildRequires: openssl-devel -BuildRequires: zlib-ng-compat-devel -BuildRequires: libaio-devel -BuildRequires: libattr-devel -BuildRequires: libffi-devel -BuildRequires: elfutils-libelf-devel - -Requires: akmods -Requires: kernel-devel -Requires: openzfs = %{?epoch:%{epoch}:}%{version}-%{release} -Conflicts: %{modulename}-dkms -Conflicts: dkms-openzfs -Provides: akmod-%{modulename} = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: akmod-openzfs = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: %{modulename}-kmod-common = %{?epoch:%{epoch}:}%{version}-%{release} - -Packager: Cypress Reed - -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } - -%description -This package contains the OpenZFS kernel modules built using akmods. - -%prep -%{?kmodtool_check} - -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null - -%autosetup -for kernel_version in %{?kernel_versions} ; do - cp -a zfs-%{version} _kmod_build_${kernel_version%%___*} -done - -%build -for kernel_version in %{?kernel_versions} ; do - cd _kmod_build_${kernel_version%%___*} - - ./autogen.sh - - %configure \ - --with-config=kernel \ - --with-linux=${kernel_version##*___} \ - --with-linux-obj=${kernel_version##*___} - - make %{?_smp_mflags} -C ${kernel_version##*___} M=${PWD}/module modules - - cd .. -done - -%install -for kernel_version in %{?kernel_versions}; do - mkdir -p %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - - install -D -m 755 _kmod_build_${kernel_version%%___*}/module/avl/zavl.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - install -D -m 755 _kmod_build_${kernel_version%%___*}/module/nvpair/znvpair.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - install -D -m 755 _kmod_build_${kernel_version%%___*}/module/unicode/zunicode.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - install -D -m 755 _kmod_build_${kernel_version%%___*}/module/zcommon/zcommon.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - install -D -m 755 _kmod_build_${kernel_version%%___*}/module/zstd/zzstd.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - install -D -m 755 _kmod_build_${kernel_version%%___*}/module/icp/icp.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - install -D -m 755 _kmod_build_${kernel_version%%___*}/module/spl/spl.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - install -D -m 755 _kmod_build_${kernel_version%%___*}/module/zfs/zfs.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - - chmod a+x %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/*.ko -done -%{?akmod_install} - -%changelog -* Thu Jan 01 2026 Cypress Reed -- Initial package diff --git a/anda/system/openzfs/akmod/update.rhai b/anda/system/openzfs/akmod/update.rhai deleted file mode 100644 index ead166fca1..0000000000 --- a/anda/system/openzfs/akmod/update.rhai +++ /dev/null @@ -1,2 +0,0 @@ -let ver = gh("openzfs/zfs").strip_prefix("zfs-"); -rpm.version(ver); \ No newline at end of file diff --git a/anda/system/openzfs/anda.hcl b/anda/system/openzfs/anda.hcl new file mode 100644 index 0000000000..a899abaa76 --- /dev/null +++ b/anda/system/openzfs/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "openzfs.spec" + } +} diff --git a/anda/system/openzfs/dkms/dkms-openzfs.spec b/anda/system/openzfs/dkms/dkms-openzfs.spec deleted file mode 100644 index 9c3068df47..0000000000 --- a/anda/system/openzfs/dkms/dkms-openzfs.spec +++ /dev/null @@ -1,115 +0,0 @@ -%global debug_package %{nil} -%global __brp_mangle_shebangs %{nil} - -%define module openzfs -%define modulename %{module} -%define source_name zfs -%define _kmod_src_root %{_usrsrc}/%{module}-%{version} - -Name: dkms-%{module} -Version: 2.4.3 -Release: 1%{?dist} -Summary: ZFS DKMS Kernel Modules -URL: https://github.com/openzfs/zfs -Source0: https://github.com/openzfs/zfs/releases/download/zfs-%{version}/zfs-%{version}.tar.gz -License: CDDL-1.0 -BuildArch: noarch - -BuildRequires: make -BuildRequires: perl - -Requires: dkms >= 2.2.0.3 -Requires: gcc -Requires: make -Requires: perl -Requires: diffutils -Requires: kernel-devel -Requires: kernel-modules -Requires: openzfs = %{?epoch:%{epoch}:}%{version}-%{release} - -Provides: %{module}-kmod = %{version}-%{release} -Provides: dkms-openzfs = %{version}-%{release} -Conflicts: akmod-openzfs -RemovePathPostfixes: .dkms - -Packager: Cypress Reed - -%description -This package contains the DKMS-managed OpenZFS kernel modules. - -%prep -%autosetup -n zfs-%{version} - -%build -scripts/dkms.mkconf -n %{module} -v %{version} -f dkms.conf - -%install -INITIAL_ENVDIR=`pwd` - -make distdir -cd %{source_name}-%{version} -for file in $(find cmd dracut etc lib man rpm udev tests -type f); do \ - rm "$file"; \ - test "$file" != "${file%%.in}" && printf "\x25:\n\t#\n" > "$file"; \ - true; \ -done -cd $INITIAL_ENVDIR - -printf "#!/bin/sh\ncp \"$@\"\n" > %{source_name}-%{version}/cp -chmod 755 %{source_name}-%{version}/cp - -mkdir -p %{buildroot}%{_usrsrc} -mv %{source_name}-%{version} %{buildroot}%{_kmod_src_root}.dkms -cp dkms.conf %{buildroot}%{_kmod_src_root}.dkms - -%files -%defattr(-,root,root) -%{_kmod_src_root}.dkms - -%pre -# Remove any existing openzfs dkms modules -dkms_root=/var/lib/dkms -if [ -d ${dkms_root}/%{module} ]; then - cd ${dkms_root}/%{module} - for x in [[:digit:]]*; do - [ -d "$x" ] || continue - otherver="$x" - if [ "$otherver" != %{version} ]; then - if [ `dkms status -m %{module} -v "$otherver" | grep -c %{module}` -gt 0 ]; then - echo "Removing old %{module} dkms modules version $otherver from all kernels." - dkms remove -m %{module} -v "$otherver" --all ||: - fi - fi - done -fi - -# Remove previous version when upgrading/installing -if [ `dkms status -m %{module} -v %{version} | grep -c %{module}` -gt 0 ]; then - echo "Removing %{module} dkms modules version %{version} from all kernels." - dkms remove -m %{module} -v %{version} --all ||: -fi - -%post -echo "Adding %{module} dkms modules version %{version} to dkms." -dkms add -m %{module} -v %{version} --rpm_safe_upgrade ||: - -echo "Installing %{module} dkms modules version %{version} for the current kernel." -dkms install --force -m %{module} -v %{version} ||: - -%preun -# Do nothing if upgrade -if [ "$1" = "1" -o "$1" = "upgrade" ] ; then - exit 0 -fi - -# Remove modules on uninstall -if [ "$1" = "0" -o "$1" = "remove" -o "$1" = "purge" ] ; then - if [ `dkms status -m %{module} -v %{version} | grep -c %{module}` -gt 0 ]; then - echo "Removing %{module} dkms modules version %{version} from all kernels." - dkms remove -m %{module} -v %{version} --all --rpm_safe_upgrade ||: - fi -fi - -%changelog -* Thu Jan 01 2026 Cypress Reed -- Initial package diff --git a/anda/system/openzfs/dkms/update.rhai b/anda/system/openzfs/dkms/update.rhai deleted file mode 100644 index ead166fca1..0000000000 --- a/anda/system/openzfs/dkms/update.rhai +++ /dev/null @@ -1,2 +0,0 @@ -let ver = gh("openzfs/zfs").strip_prefix("zfs-"); -rpm.version(ver); \ No newline at end of file diff --git a/anda/system/openzfs/gomp/anda.hcl b/anda/system/openzfs/gomp/anda.hcl deleted file mode 100644 index 7cd70581f4..0000000000 --- a/anda/system/openzfs/gomp/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project "pkg" { - rpm { - spec = "gomp-openzfs.spec" - } -} diff --git a/anda/system/openzfs/gomp/kmod-zfs.spec-preamble b/anda/system/openzfs/kmod-zfs.spec-preamble similarity index 100% rename from anda/system/openzfs/gomp/kmod-zfs.spec-preamble rename to anda/system/openzfs/kmod-zfs.spec-preamble diff --git a/anda/system/openzfs/gomp/gomp-openzfs.spec b/anda/system/openzfs/openzfs.spec similarity index 94% rename from anda/system/openzfs/gomp/gomp-openzfs.spec rename to anda/system/openzfs/openzfs.spec index 2fddbd9f22..f56970bc0e 100644 --- a/anda/system/openzfs/gomp/gomp-openzfs.spec +++ b/anda/system/openzfs/openzfs.spec @@ -1,4 +1,7 @@ %global dkmsname dkms-%{name} +%if 0%{?fedora} +%global dkmsname akmod-%{name} +%endif %global rpm_dkms_opt 1 @@ -28,7 +31,7 @@ --with-python=%{__python3} --with-udevdir=%{_udevdir} --with-udevruledir=%{_udevrulesdir} \\\ --with-systemdunitdir=%{_unitdir} --with-systemdpresetdir=%{_presetdir} \\\ --with-systemdmodulesloaddir=%{_modulesloaddir} --with-systemdgeneratordir=%{_systemdgeneratordir} \\\ - --with-dracutdir=%{_dracutdir} --with-mounthelperdir=%{_sbindir} --with-pammoduledir=%{_libdir}/security \\\ + --with-dracutdir=%{_dracutdir} --with-mounthelperdir=%{_bindir} --with-pammoduledir=%{_libdir}/security \\\ --disable-static --disable-sysvinit --enable-pam --enable-systemd \\\ %{nil} @@ -69,7 +72,11 @@ %{!?python3_pkgversion: %global python3_pkgversion 3} # kmod install path -%define _kmod_src_root %{_usrsrc}/%{name}-%{version} +%if 0%{?fedora} +%define _kmod_src_root %{_usrsrc}/%{name}-%{version}.akmods +%else +%define _kmod_src_root %{_usrsrc}/%{name}-%{version}.dkms +%endif Name: zfs @@ -92,6 +99,9 @@ BuildRequires: libtool BuildRequires: python%{python3_pkgversion}-devel >= 3.6 BuildRequires: python%{python3_pkgversion}-cffi BuildRequires: python%{python3_pkgversion}-packaging +%if 0%{?fedora} +BuildRequires: kmodtool +%endif BuildRequires: libaio-devel BuildRequires: libblkid-devel @@ -152,14 +162,21 @@ This package contains the common kernel module files for OpenZFS on Linux. %package -n %{dkmsname} -Summary: Kernel module sources for %{name} managed by DKMS +Summary: Kernel module sources for %{name} managed by DKMS or Akmods # ZFS modules are CDDL and SPL modules are GPLv2+ License: CDDL-1.0 and GPL-2.0-or-later BuildArch: noarch # elfutils' libelf is required now for newer kernels Requires: elfutils-libelf-devel Requires: diffutils +%if 0%{?fedora} +Requires: akmods +Conflicts: dkms-%{name} +RemovePathPostfixes: .akmods +%else Requires: dkms >= 2.2.0.3 +RemovePathPostfixes: .dkms +%endif Requires: gcc Requires: make Requires: perl @@ -167,11 +184,11 @@ Requires: python%{python3_pkgversion} Provides: %{name}-kmod = %{version}-%{release} Requires: %{name}-kmod-common = %{version}-%{release} -RemovePathPostfixes: .dkms %description -n %{dkmsname} This package contains the kernel module sources for -OpenZFS for Linux that is managed by DKMS. +OpenZFS for Linux that is managed by DKMS on non-Fedora systems +and Akmods on Fedora. %package -n %{libname_zpool} Summary: Native ZFS pool library for Linux @@ -187,10 +204,10 @@ This package contains the zpool library, which provides support for managing zpools %post -n %{libname_zpool} -/sbin/ldconfig +{_bindir}/ldconfig %postun -n %{libname_zpool} -/sbin/ldconfig +{_bindir}/ldconfig %package -n %{libname_zfsbootenv} Summary: Native ZFS boot environment library for Linux @@ -202,10 +219,10 @@ This package contains the zfsbootenv library, which provides support for managing zfs boot environments %post -n %{libname_zfsbootenv} -/sbin/ldconfig +{_bindir}/ldconfig %postun -n %{libname_zfsbootenv} -/sbin/ldconfig +{_bindir}/ldconfig %package -n %{libname_nvpair} Summary: Solaris name-value library for Linux @@ -217,10 +234,10 @@ process boundaries, between kernel and user space, and can be used to write self describing data structures on disk. %post -n %{libname_nvpair} -/sbin/ldconfig +{_bindir}/ldconfig %postun -n %{libname_nvpair} -/sbin/ldconfig +{_bindir}/ldconfig %package -n %{libname_uutil} Summary: Solaris userland utility library for Linux @@ -237,10 +254,10 @@ This library provides a variety of compatibility functions for OpenZFS on Linux: * libshare: NFS, SMB, and iSCSI service integration for ZFS. %post -n %{libname_uutil} -/sbin/ldconfig +{_bindir}/ldconfig %postun -n %{libname_uutil} -/sbin/ldconfig +{_bindir}/ldconfig %package -n %{libname_zfs} Summary: Native ZFS filesystem library for Linux @@ -255,10 +272,10 @@ Requires: %{libname_uutil}%{?_isa} = %{version}-%{release} This package provides support for managing ZFS filesystems %post -n %{libname_zfs} -/sbin/ldconfig +{_bindir}/ldconfig %postun -n %{libname_zfs} -/sbin/ldconfig +{_bindir}/ldconfig %package -n %{devname_zfs} Summary: Development headers @@ -377,8 +394,8 @@ chmod 755 %{name}-%{version}/cp # Install kernel sources mkdir -p %{buildroot}%{_usrsrc} -mv %{name}-%{version} %{buildroot}%{_kmod_src_root}.dkms -cp dkms.conf %{buildroot}%{_kmod_src_root}.dkms +mv %{name}-%{version} %{buildroot}%{_kmod_src_root} +cp dkms.conf %{buildroot}%{_kmod_src_root} # Erase initramfs-tools on non-Debian rm -rf %{buildroot}%{_initramfstoolsdir} @@ -393,18 +410,30 @@ mkdir -p %{buildroot}%{_datadir}/bash-completion/completions mv %{buildroot}%{_sysconfdir}/bash_completion.d/* %{buildroot}%{_datadir}/bash-completion/completions/ rmdir %{buildroot}%{_sysconfdir}/bash_completion.d +%if 0%{?fedora} +%{?akmod_install} +%endif + %preun -n %{dkmsname} +%if 0%{?fedora} +: +%else if [ "$(dkms status -m %{name} -v %{version})" ]; then dkms remove -m %{name} -v %{version} --all %{?rpm_dkms_opt:--rpm_safe_upgrade} fi +%endif %post -n %{dkmsname} +%if 0%{?fedora} +: +%else if [ "$1" -ge "1" ]; then if [ -f /usr/lib/dkms/common.postinst ]; then /usr/lib/dkms/common.postinst %{name} %{version} exit $? fi fi +%endif %post %systemd_post %{zfs_systemd_units} @@ -495,7 +524,7 @@ fi %doc AUTHORS README.md %files -n %{dkmsname} -%{_kmod_src_root}.dkms +%{_kmod_src_root} %files test %{_datadir}/%{name} diff --git a/anda/system/openzfs/userspace/openzfs.spec b/anda/system/openzfs/userspace/openzfs.spec deleted file mode 100644 index 92bd122ae4..0000000000 --- a/anda/system/openzfs/userspace/openzfs.spec +++ /dev/null @@ -1,162 +0,0 @@ -%global debug_package %{nil} -%global __brp_mangle_shebangs %{nil} -%global __python %{__python3} -%{!?python3_pkgversion: %global python3_pkgversion 3} -%{!?_udevdir: %global _udevdir %{_prefix}/lib/udev} -%{!?_dracutdir: %global _dracutdir %{_prefix}/lib/dracut} -%{!?_initconfdir: %global _initconfdir %{_sysconfdir}/sysconfig} -%{!?_pam_confdir: %global _pam_confdir %{_datadir}/pam-configs} -%{!?_pam_secconfdir: %global _pam_secconfdir %{_libdir}/security} -%global zfs_systemd_units zfs-import-cache.service zfs-import-scan.service zfs-mount.service zfs-share.service zfs-zed.service zfs.target zfs-import.target zfs-volume-wait.service zfs-volumes.target - -Name: openzfs -Version: 2.4.3 -Release: 1%{?dist} -Summary: OpenZFS filesystem userspace utilities -License: CDDL-1.0 -URL: https://openzfs.org -Source0: https://github.com/openzfs/zfs/releases/download/zfs-%{version}/zfs-%{version}.tar.gz - -BuildRequires: gcc -BuildRequires: make -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool -BuildRequires: libuuid-devel -BuildRequires: libblkid-devel -BuildRequires: libudev-devel -BuildRequires: openssl-devel -BuildRequires: libtirpc-devel -BuildRequires: libattr-devel -BuildRequires: libaio-devel -BuildRequires: libffi-devel -BuildRequires: zlib-ng-compat-devel -BuildRequires: systemd -BuildRequires: systemd-devel -BuildRequires: systemd-rpm-macros -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-cffi -BuildRequires: python3-packaging - -Requires: %{name}-libs%{?_isa} = %{version}-%{release} -Requires: util-linux -Requires: sysstat -Requires: bash-completion - -Recommends: akmod-openzfs -Conflicts: zfs-fuse -Obsoletes: spl < 0.8.0~ - -# we assume openzfs as the name for consistency, but if someone wants to install just zfs, this shows that this package provides zfs. -Provides: zfs = %{version}-%{release} - -Packager: Willow Reed - -%description -OpenZFS userspace tools - -%package libs -%pkg_libs_files - -%package devel -%pkg_devel_files - -%prep -%autosetup -n zfs-%{version} - -%build -./autogen.sh - -%configure \ - --with-config=user \ - --with-python=%{__python} \ - --bindir=%{_bindir} \ - --sbindir=%{_sbindir} \ - --libexecdir=%{_libexecdir} \ - --sysconfdir=%{_sysconfdir} \ - --sharedstatedir=%{_sharedstatedir} \ - --localstatedir=%{_localstatedir} \ - --runstatedir=%{_runstatedir} \ - --libdir=%{_libdir} \ - --includedir=%{_includedir} \ - --datarootdir=%{_datadir} \ - --mandir=%{_mandir} \ - --docdir=%{_docdir} \ - --with-udevdir=%{_udevdir} \ - --with-udevruledir=%{_udevrulesdir} \ - --with-dracutdir=%{_dracutdir} \ - --with-pamconfigsdir=%{_pam_confdir} \ - --with-pammoduledir=%{_pam_secconfdir} \ - --with-pkgconfigdir=%{_pkgconfigdir} \ - --with-mounthelperdir=%{_sbindir} \ - --with-systemdunitdir=%{_unitdir} \ - --with-systemdpresetdir=%{_presetdir} \ - --with-systemdmodulesloaddir=%{_modulesloaddir} \ - --with-systemdgeneratordir=%{_systemdgeneratordir} \ - --disable-sysvinit \ - --enable-pam \ - --enable-pyzfs \ - --enable-systemd \ - --disable-static - -%make_build - -( cd contrib/pyzfs && %py3_build ) - -%install -%make_install - -( cd contrib/pyzfs && rm -rf %{buildroot}%{python3_sitelib} && %py3_install ) - -find %{buildroot} -name '*.la' -delete - -%files -%doc AUTHORS COPYRIGHT LICENSE *.md -%{_sbindir} -%{_bindir} -%{_libdir} -%{_mandir} -%{_sysconfdir}/init.d -%{_sysconfdir}/zfs -%{_presetdir}/ -%{_unitdir}/ -%{_systemdgeneratordir}/zfs-mount-generator -%{_libdir}/udev/rules.d -%{_libdir}/udev/*_id -%{_datadir}/zfs -%{_sysconfdir}/sudoers.d/zfs -%{_sysconfdir}/sysconfig/zfs -%{bash_completions_dir}/zfs -%{bash_completions_dir}/zpool -%{python3_sitelib} -%{_libdir}/security/pam_zfs_key.so -%{_datadir}/pam-configs/zfs_key -%{_sysconfdir}/bash_completion.d/zpool - -%post -%systemd_post zfs-import-cache.service -%systemd_post zfs-import-scan.service -%systemd_post zfs-mount.service -%systemd_post zfs-share.service -%systemd_post zfs-zed.service -%systemd_post zfs.target - -%preun -%systemd_preun zfs-import-cache.service -%systemd_preun zfs-import-scan.service -%systemd_preun zfs-mount.service -%systemd_preun zfs-share.service -%systemd_preun zfs-zed.service -%systemd_preun zfs.target - -%postun -%systemd_postun_with_restart zfs-import-cache.service -%systemd_postun_with_restart zfs-import-scan.service -%systemd_postun_with_restart zfs-mount.service -%systemd_postun_with_restart zfs-share.service -%systemd_postun_with_restart zfs-zed.service - -%changelog -* Thu Jan 01 2026 Willow Reed -- Initial package diff --git a/anda/system/openzfs/userspace/update.rhai b/anda/system/openzfs/userspace/update.rhai deleted file mode 100644 index 03937afa2d..0000000000 --- a/anda/system/openzfs/userspace/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("openzfs/zfs").strip_prefix("zfs-"));