## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-pysmart Version: 1.4.3 Release: %autorelease Summary: Wrapper for smartctl (smartmontools) License: LGPL-2.1-or-later URL: https://github.com/truenas/py-SMART Source: %{pypi_source pysmart} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description %{expand: pySMART is a simple Python wrapper for the smartctl component of smartmontools. It is officially compatible with Linux, Windows and FreeBSD, as long as smartctl is on the system path. Running with administrative rights is strongly recommended, as smartctl cannot accurately detect all device types or parse all SMART information without these permissions.} %description %_description %package -n python3-pysmart Summary: %{summary} %description -n python3-pysmart %_description %prep %autosetup -p1 -n pysmart-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l pySMART %check %pyproject_check_import # These tests work locally but not in mock or a containerized build environment. %pytest -k "not test_device_creation and not test_generic_checks and not test_device_diagnostics and not test_device_iface_attributes and not test_device_attributes and not test_device_tests" %files -n python3-pysmart -f %{pyproject_files} %doc docs/ %changelog ## START: Generated by rpmautospec * Thu Jul 16 2026 Fedora Release Engineering - 1.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Wed Jun 03 2026 Python Maint - 1.4.3-2 - Rebuilt for Python 3.15 * Mon Jun 01 2026 Gwyn Ciesla - 1.4.3-1 - Initial import ## END: Generated by rpmautospec