Create a subpackage for vfs-iouring

related: rhbz#1975690
This commit is contained in:
Andreas Schneider 2021-06-24 11:27:14 +02:00
parent 7a247ac846
commit 170ffd5156
1 changed files with 25 additions and 7 deletions

View File

@ -108,7 +108,7 @@
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
%global baserelease 100
%global baserelease 101
%global samba_version 4.14.5
%global talloc_version 2.3.2
@ -555,6 +555,20 @@ Samba VFS module for Ceph distributed storage system integration.
#endif with vfs_cephfs
%endif
### IOURING
%if %{with vfs_io_uring}
%package vfs-iouring
Summary: Samba VFS module for io_uring
Requires: %{name} = %{samba_depver}
Requires: %{name}-libs = %{samba_depver}
Provides: bundled(libreplace)
%description vfs-iouring
Samba VFS module for io_uring instance integration.
#endif with vfs_io_uring
%endif
### GLUSTER
%if %{with vfs_glusterfs}
%package vfs-glusterfs
@ -1475,9 +1489,6 @@ fi
%{_libdir}/samba/vfs/full_audit.so
%{_libdir}/samba/vfs/gpfs.so
%{_libdir}/samba/vfs/glusterfs_fuse.so
%if %{with vfs_io_uring}
%{_libdir}/samba/vfs/io_uring.so
%endif
%{_libdir}/samba/vfs/linux_xfs_sgid.so
%{_libdir}/samba/vfs/media_harmony.so
%{_libdir}/samba/vfs/offline.so
@ -1535,9 +1546,6 @@ fi
%{_mandir}/man8/vfs_full_audit.8*
%{_mandir}/man8/vfs_gpfs.8*
%{_mandir}/man8/vfs_glusterfs_fuse.8*
%if %{with vfs_io_uring}
%{_mandir}/man8/vfs_io_uring.8*
%endif
%{_mandir}/man8/vfs_linux_xfs_sgid.8*
%{_mandir}/man8/vfs_media_harmony.8*
%{_mandir}/man8/vfs_offline.8*
@ -2097,6 +2105,13 @@ fi
%{_mandir}/man8/vfs_ceph_snapshots.8*
%endif
### VFS-IOURING
%if %{with vfs_io_uring}
%files vfs-iouring
%{_libdir}/samba/vfs/io_uring.so
%{_mandir}/man8/vfs_io_uring.8*
%endif
### VFS-GLUSTERFS
%if %{with vfs_glusterfs}
%files vfs-glusterfs
@ -3893,6 +3908,9 @@ fi
%endif
%changelog
* Thu Jun 24 2021 Andreas Schneider <asn@redhat.com> - 4.14.5-101
- related: rhbz#1975690 - Create a subpackage for vfs-iouring
* Tue Jun 22 2021 Andreas Schneider <asn@redhat.com> - 4.14.5-100
- related: rhbz#1954531 - Make sure upgrades to RHEL9 will work