diff --git a/zfs.spec b/zfs.spec index 8258992..1c6a98c 100644 --- a/zfs.spec +++ b/zfs.spec @@ -1,6 +1,6 @@ Name: zfs Version: 2.2.6 -Release: 1mamba +Release: 2mamba Summary: An advanced file system and volume manager Group: System/Tools Vendor: openmamba @@ -27,12 +27,22 @@ BuildRequires: perl-devel BuildRequires: python3.11dist(cffi) ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} %description ZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the Illumos community. ZFS on Linux, which is also known as ZoL, is currently feature complete. It includes fully functional and stable SPA, DMU, ZVOL, and ZPL layers. Full documentation for installing ZoL on your favorite Linux distribution can be found at: http://zfsonlinux.org +%package tools +Group: System/Tools +Summary: Tools provided with %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +ZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the Illumos community. +This package contains the tools provided with %{name}. + %package dkms Group: System/Kernel and Hardware/Drivers Summary: %{name} kernel module with DKMS build support @@ -129,6 +139,20 @@ fi %files %defattr(-,root,root) +%config %{_sysconfdir}/default/zfs +%{_udevrulesdir}/*.rules +%{_prefix}/lib/udev/vdev_id +%{_prefix}/lib/udev/zvol_id +%{_datadir}/pam-configs/zfs_key +%{_presetdir}/50-zfs.preset +%{_unitdir}/zfs-*.service +%{_unitdir}/zfs-*.timer +%{_unitdir}/zfs.target +%{_unitdir}/zfs-volumes.target +%{_systemdgeneratordir}/zfs-mount-generator + +%files tools +%defattr(-,root,root) %dir %{_sysconfdir}/zfs %{_sysconfdir}/zfs/*.example %dir %{_sysconfdir}/zfs/zed.d @@ -138,7 +162,6 @@ fi %dir %{_sysconfdir}/zfs/zpool.d %{_sysconfdir}/zfs/zfs-functions %{_sysconfdir}/zfs/zpool.d/* -%config %{_sysconfdir}/default/zfs %{_bindir}/arcstat %{_bindir}/arc_summary %{_bindir}/dbufstat @@ -158,19 +181,9 @@ fi %{_sbindir}/zstreamdump %{_sbindir}/ztest %{_sbindir}/zgenhostid -%{_udevrulesdir}/*.rules -%{_prefix}/lib/udev/vdev_id -%{_prefix}/lib/udev/zvol_id -%{_datadir}/pam-configs/zfs_key -%{_presetdir}/50-zfs.preset -%{_unitdir}/zfs-*.service -%{_unitdir}/zfs-*.timer -%{_unitdir}/zfs.target -%{_unitdir}/zfs-volumes.target %dir %{_datadir}/zfs %{_datadir}/zfs/* %{_unitdir}/zfs-import.target -%{_systemdgeneratordir}/zfs-mount-generator %{_datadir}/bash-completion/completions/zfs %{_datadir}/bash-completion/completions/zpool %{_mandir}/man1/arcstat.1.gz @@ -262,6 +275,9 @@ fi %{python3_sitelib}/pyzfs-*-py*.egg-info/* %changelog +* Sun Oct 06 2024 Silvan Calarco 2.2.6-2mamba +- added -tools package + * Fri Sep 06 2024 Automatic Build System 2.2.6-1mamba - automatic version update by autodist