zfs/rpm/generic
Damian Szuberski 387109364e
Python3: replace `distutils` with `sysconfig`
- `distutils` module is long time deprecated and already deleted
  from the CPython mainline.

- To remain compatible with Debian/Ubuntu Python3 packaging style,
  try
  `distutils.sysconfig.get_python_path(0,0)`
  first with fallback on
  `sysconfig.get_path('purelib')`

- pyzfs_unittest suite is run unconditionally as a part of ZTS.

- Add pyzfs_unittest suite to sanity tests.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #12833 
Closes #13280 
Closes #14177
2022-11-28 11:39:41 -08:00
..
zfs-dkms.spec.in rpm: Silence "unversioned Obsoletes" warnings on EL 9 2022-07-11 11:35:01 -07:00
zfs-kmod.spec.in Standardize RHEL version check in packages 2022-05-25 09:20:17 -07:00
zfs.spec.in Python3: replace `distutils` with `sysconfig` 2022-11-28 11:39:41 -08:00