diff --git a/.gitignore b/.gitignore index d36f53a..e1f8557 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ /stratis-cli-3.6.0.tar.gz /stratis-cli-3.7.0.tar.gz /stratis-cli-3.8.1.tar.gz +/stratis-cli-3.8.3.tar.gz diff --git a/sources b/sources index 8290342..23f95e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (stratis-cli-3.8.1.tar.gz) = 8828e9400151ae1dee21a3693c8515f71299267b4b64595108c8d6987a876e03797ffd8407620c326dcb1250323f363957f64ed966f97fdf9576abc0e1169094 +SHA512 (stratis-cli-3.8.3.tar.gz) = 0efe6d4e61d7025b10e102fc0bf3c32db49d867b2947a5a0e4e31f3e534c56e6e512f790f37e9e912e2c1894e3b9781530c062bc4b8ba425631d12234072e6f7 diff --git a/stratis-cli.spec b/stratis-cli.spec index 99951d5..fc2ee60 100644 --- a/stratis-cli.spec +++ b/stratis-cli.spec @@ -1,6 +1,6 @@ Name: stratis-cli -Version: 3.8.1 -Release: 1%{?dist} +Version: 3.8.3 +Release: 2%{?dist} Summary: Command-line tool for interacting with the Stratis daemon License: Apache-2.0 @@ -8,7 +8,6 @@ URL: https://github.com/stratis-storage/stratis-cli Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: python3-devel -BuildRequires: python3-setuptools BuildRequires: %{_bindir}/a2x %if 0%{?rhel} BuildRequires: python3-dateutil @@ -21,7 +20,7 @@ BuildRequires: python3-wcwidth %endif # Require the version of stratisd that supports a compatible D-Bus interface -Requires: (stratisd >= 3.8.1 with stratisd < 4.0.0) +Requires: (stratisd >= 3.8.2 with stratisd < 4.0.0) # Exclude the same arches for stratis-cli as are excluded for stratisd ExclusiveArch: %{rust_arches} noarch @@ -38,12 +37,16 @@ interacts with stratisd via D-Bus. %prep %autosetup +%generate_buildrequires +%pyproject_buildrequires + %build -%py3_build +%pyproject_wheel a2x -f manpage docs/stratis.txt %install -%py3_install +%pyproject_install +%pyproject_save_files -l stratis_cli # Do not install tab-completion files for RHEL %if !0%{?rhel} %{__install} -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \ @@ -55,8 +58,10 @@ a2x -f manpage docs/stratis.txt %endif %{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8 -%files -%license LICENSE +%check +%pyproject_check_import + +%files -f %{pyproject_files} %doc README.rst %{_bindir}/stratis %{_mandir}/man8/stratis.8* @@ -71,10 +76,12 @@ a2x -f manpage docs/stratis.txt %dir %{_datadir}/fish/vendor_completions.d %{_datadir}/fish/vendor_completions.d/stratis.fish %endif -%{python3_sitelib}/stratis_cli/ -%{python3_sitelib}/stratis_cli-*.egg-info/ %changelog +* Thu Nov 13 2025 Chung Chung - 3.8.6-2 +- Update to 3.8.3 +- Resolves: RHEL-125936 + * Tue May 13 2025 Chung Chung - 3.8.1-1 - Update to 3.8.1 Resolves: RHEL-71912