commit ec11d7b8a7bd63271288dd14c66ad8db9159b51e Author: MSVSphere Packaging Team Date: Tue Nov 26 19:22:39 2024 +0300 import stratis-cli-3.6.0-4.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dd0f78c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/stratis-cli-3.6.0.tar.gz diff --git a/.stratis-cli.metadata b/.stratis-cli.metadata new file mode 100644 index 0000000..6ed7b15 --- /dev/null +++ b/.stratis-cli.metadata @@ -0,0 +1 @@ +ca2d41d023639307671e3286bd377405d08bede7 SOURCES/stratis-cli-3.6.0.tar.gz diff --git a/SPECS/stratis-cli.spec b/SPECS/stratis-cli.spec new file mode 100644 index 0000000..e50a5a0 --- /dev/null +++ b/SPECS/stratis-cli.spec @@ -0,0 +1,270 @@ +Name: stratis-cli +Version: 3.6.0 +Release: 4%{?dist} +Summary: Command-line tool for interacting with the Stratis daemon + +License: Apache-2.0 +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 +BuildRequires: python3-dbus-client-gen +BuildRequires: python3-dbus-python-client-gen +BuildRequires: python3-justbytes +BuildRequires: python3-packaging +BuildRequires: python3-psutil +BuildRequires: python3-wcwidth +%endif + +# Require the version of stratisd that supports a compatible D-Bus interface +Requires: (stratisd >= 3.6.0 with stratisd < 4.0.0) + +# Exclude the same arches for stratis-cli as are excluded for stratisd +ExclusiveArch: %{rust_arches} noarch +%if 0%{?rhel} +ExcludeArch: i686 +%endif +BuildArch: noarch + +%description +stratis provides a command-line interface (CLI) for +interacting with the Stratis daemon, stratisd. stratis +interacts with stratisd via D-Bus. + +%prep +%autosetup + +%build +%py3_build +a2x -f manpage docs/stratis.txt + +%install +%py3_install +# Do not install tab-completion files for RHEL +%if !0%{?rhel} +%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \ + shell-completion/bash/stratis +%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \ + shell-completion/zsh/_stratis +%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d \ + shell-completion/fish/stratis.fish +%endif +%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratis.8 + +%files +%license LICENSE +%doc README.rst +%{_bindir}/stratis +%{_mandir}/man8/stratis.8* +%if !0%{?rhel} +%dir %{_datadir}/bash-completion +%dir %{_datadir}/bash-completion/completions +%{_datadir}/bash-completion/completions/stratis +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/site-functions +%{_datadir}/zsh/site-functions/_stratis +%dir %{_datadir}/fish +%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 +* Tue Nov 26 2024 MSVSphere Packaging Team - 3.6.0-4 +- Rebuilt for MSVSphere 10 + +* Mon Jun 24 2024 Troy Dawson - 3.6.0-4 +- Bump release for June 2024 mass rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 3.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Oct 25 2023 Bryan Gurney - 3.6.0-2 +- Use testing tag v3.6.0 + +* Tue Oct 24 2023 Bryan Gurney - 3.6.0-1 +- Update to 3.6.0 + +* Sat Jul 22 2023 Fedora Release Engineering - 3.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jun 15 2023 Python Maint - 3.5.3-3 +- Rebuilt for Python 3.12 + +* Wed Jun 14 2023 Bryan Gurney - 3.5.3-2 +- Use tmt tests + +* Wed Jun 07 2023 Bryan Gurney - 3.5.3-1 +- Update to 3.5.3 + +* Wed May 17 2023 Bryan Gurney - 3.5.2-1 +- Update to 3.5.2 + +* Fri Mar 31 2023 Bryan Gurney - 3.5.1-1 +- Update to 3.5.1 + +* Tue Jan 24 2023 Bryan Gurney - 3.5.0-1 +- Update to 3.5.0 + +* Sat Jan 21 2023 Fedora Release Engineering - 3.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Jan 09 2023 Bryan Gurney - 3.4.1-1 +- Update to 3.4.1 + +* Tue Nov 29 2022 Bryan Gurney - 3.4.0-1 +- Update to 3.4.0 + +* Tue Oct 18 2022 Bryan Gurney - 3.3.0-1 +- Update to 3.3.0 + +* Sat Jul 30 2022 mulhern - 3.2.0-2 +- Fix gating tests + +* Sat Jul 30 2022 mulhern - 3.2.0-1 +- Update to 3.2.0 + +* Sat Jul 23 2022 Fedora Release Engineering - 3.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 3.1.0-3 +- Rebuilt for Python 3.11 + +* Tue Jun 07 2022 Bryan Gurney - 3.1.0-2 +- Add rpminspect.yaml file + +* Wed May 25 2022 mulhern - 3.1.0-1 +- Update to 3.1.0 + +* Wed Mar 30 2022 mulhern - 3.0.1-5 +- Tidies for unification of spec file + +* Sun Feb 27 2022 mulhern - 3.0.1-4 +- Remove all gating files + +* Sun Feb 27 2022 mulhern - 3.0.1-3 +- Bump revision in order to include dependencies in gating tests + +* Sun Feb 27 2022 mulhern - 3.0.1-2 +- Add gating tests + +* Sun Feb 13 2022 mulhern - 3.0.1-1 +- Update to 3.0.1 + +* Sat Jan 22 2022 Fedora Release Engineering - 3.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Dec 21 2021 mulhern - 3.0.0-1 +- Update to 3.0.0 + +* Thu Aug 5 2021 mulhern - 2.4.4-1 +- Update to 2.4.4 + +* Fri Jul 23 2021 Fedora Release Engineering - 2.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jul 16 2021 mulhern - 2.4.3-1 +- Update to 2.4.3 + +* Tue Jun 15 2021 mulhern - 2.4.2-1 +- Update to 2.4.2 + +* Fri Jun 04 2021 Python Maint - 2.4.1-2 +- Rebuilt for Python 3.10 + +* Wed May 19 2021 mulhern - 2.4.1-1 +- Update to 2.4.1 + +* Tue Apr 27 2021 mulhern - 2.4.0-1 +- Update to 2.4.0 + +* Wed Jan 27 2021 Fedora Release Engineering - 2.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jan 12 2021 mulhern - 2.3.0-1 +- Update to 2.3.0 + +* Tue Nov 10 2020 mulhern - 2.2.1-1 +- Update to 2.2.1 + +* Wed Jul 29 2020 Fedora Release Engineering - 2.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 14 2020 mulhern - 2.1.1-1 +- Update to 2.1.1 + +* Thu Jul 9 2020 mulhern - 2.1.0-1 +- Update to 2.1.0 + +* Tue May 26 2020 Miro Hrončok - 2.0.1-2 +- Rebuilt for Python 3.9 + +* Wed Feb 19 2020 Igor Raits - 2.0.1-1 +- Update to 2.0.1 + +* Fri Jan 31 2020 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Nov 07 2019 Igor Gnatenko - 2.0.0-1 +- Update to 2.0.0 + +* Sat Sep 07 2019 Igor Gnatenko - 1.0.4-1 +- Update to 1.0.4 + +* Sat Nov 03 2018 Igor Gnatenko - 1.0.0-3 +- Make package archful + +* Thu Sep 27 2018 Igor Gnatenko - 1.0.0-2 +- Bump stratisd req + +* Thu Sep 27 2018 Andy Grover - 1.0.0-1 +- Update to 1.0.0 + +* Fri Aug 31 2018 Andy Grover - 0.9.0-1 +- Update to 0.9.0 + +* Fri Aug 3 2018 Andy Grover - 0.5.5-3 +- Remove zsh completions subpackage +- Own completion directories + +* Thu Aug 2 2018 Andy Grover - 0.5.5-1 +- Update to 0.5.5 +- Add zsh completions subpackage + +* Sat Jul 14 2018 Fedora Release Engineering - 0.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.5.3-2 +- Rebuilt for Python 3.7 + +* Mon Jun 4 2018 Andy Grover - 0.5.3-1 +- Update to 0.5.3 + +* Tue May 1 2018 Andy Grover - 0.5.2-1 +- Update to 0.5.2 + +* Wed Apr 04 2018 Igor Gnatenko - 0.5.0-3 +- Fix dependency on stratisd + +* Tue Apr 03 2018 Igor Gnatenko - 0.5.0-2 +- Relax stratisd dependency + +* Thu Mar 08 2018 Igor Gnatenko - 0.5.0-1 +- Update to 0.5.0 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.0.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 19 2018 Igor Gnatenko - 0.0.5-3 +- Enable usage of dependency generator + +* Mon Jan 08 2018 Igor Gnatenko - 0.0.5-2 +- Include manpage + +* Mon Jan 08 2018 Igor Gnatenko - 0.0.5-1 +- Initial package