commit caa3d2c014438743f2774b764c3e5bea6a7d4a1c Author: CentOS Sources Date: Tue May 17 06:18:21 2022 -0400 import stratis-cli-2.4.3-2.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2176242 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/stratis-cli-2.4.3.tar.gz diff --git a/.stratis-cli.metadata b/.stratis-cli.metadata new file mode 100644 index 0000000..3d19428 --- /dev/null +++ b/.stratis-cli.metadata @@ -0,0 +1 @@ +e2408e519dc9e1e339c5d3ba6f9435cfe55bae84 SOURCES/stratis-cli-2.4.3.tar.gz diff --git a/SOURCES/remove-semantic_version-and-wcwidth-deps.patch b/SOURCES/remove-semantic_version-and-wcwidth-deps.patch new file mode 100644 index 0000000..ea09778 --- /dev/null +++ b/SOURCES/remove-semantic_version-and-wcwidth-deps.patch @@ -0,0 +1,11 @@ +--- setup.py.orig 2021-07-19 10:27:56.107557330 -0400 ++++ setup.py 2021-07-19 10:29:17.047557330 -0400 +@@ -50,8 +50,6 @@ setuptools.setup( + "dbus-python-client-gen>=0.7", + "justbytes>=0.14", + "python-dateutil", +- "semantic_version", +- "wcwidth", + ], + package_dir={"": "src"}, + packages=setuptools.find_packages("src"), diff --git a/SPECS/stratis-cli.spec b/SPECS/stratis-cli.spec new file mode 100644 index 0000000..e0daf5e --- /dev/null +++ b/SPECS/stratis-cli.spec @@ -0,0 +1,173 @@ +Name: stratis-cli +Version: 2.4.3 +Release: 2%{?dist} +Summary: Command-line tool for interacting with the Stratis daemon + +License: ASL 2.0 +URL: https://github.com/stratis-storage/stratis-cli +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Patch0: remove-semantic_version-and-wcwidth-deps.patch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: %{_bindir}/a2x + +Requires: platform-python + +# It runs without, but totally useless +Requires: stratisd >= 2.4 + +# stratisd only available on certain arches +ExclusiveArch: %{rust_arches} noarch +ExcludeArch: i686 +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 +%{__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}%{_mandir}/man8 docs/stratis.8 + +%files +%license LICENSE +%doc README.rst +%{_bindir}/stratis +%{_mandir}/man8/stratis.8* +%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 +%{python3_sitelib}/stratis_cli/ +%{python3_sitelib}/stratis_cli-*.egg-info/ + +%changelog +* Tue Aug 10 2021 Mohan Boddu - 2.4.3-2 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Mon Jul 19 2021 Bryan Gurney - 2.4.3-1 +- Remove psutil dependency from setup.py +- Resolves: rhbz#1983689 + +* Mon Jun 28 2021 Bryan Gurney - 2.4.2-3 +- Remove semantic_version and wcwidth dependencies from setup.py +- Resolves: rhbz#1976731 + +* Thu Jun 17 2021 Bryan Gurney - 2.4.2-2 +- Remove unnecessary keyutils Requires line +- Resolves: rhbz#1914316 + +* Thu Jun 17 2021 Bryan Gurney - 2.4.2-1 +- Update to 2.4.2 +- Resolves: rhbz#1914316 +- Remove requirement for python3-semantic_version +- Resolves: rhbz#1972353 + +* Fri Jun 11 2021 Bryan Gurney - 2.4.1-1 +- Update to 2.4.1 +- Resolves: rhbz#1914316 + +* Fri Apr 16 2021 Mohan Boddu - 2.3.0-3 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* 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