Name: command-line-assistant Version: 0.1.0 Release: 1.20241129150958452024.pr56.9.g3d6f6f1%{?dist} Summary: A simple wrapper to interact with RAG License: Apache-2.0 URL: https://github.com/rhel-lightspeed/command-line-assistant Source0: command-line-assistant-0.1.0.tar.gz # noarch because there is no extension module for this package. BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: python3-pip BuildRequires: systemd-units # Needed by python3-dasbus Requires: python3-dasbus Requires: python3-requests Requires: systemd # Not needed after RHEL 10 as it is native in Python 3.11+ %if 0%{?rhel} && 0%{?rhel} < 10 BuildRequires: python3-tomli Requires: python3-tomli %endif %global python_package_src command_line_assistant %global binary_name c %global daemon_binary_name clad %description A simple wrapper to interact with RAG %prep %autosetup -n command-line-assistant-0.1.0 %build %py3_build_wheel %install %py3_install_wheel %{python_package_src}-%{version}-py3-none-any.whl # Move the daemon to /usr/sbin instead of /usr/bin %{__install} -d %{buildroot}/%{_sbindir} %{__install} -m 0755 %{buildroot}/%{_bindir}/%{daemon_binary_name} %{buildroot}/%{_sbindir}/%{daemon_binary_name} %{__rm} %{buildroot}/%{_bindir}/%{daemon_binary_name} # System units %{__install} -D -m 0644 data/systemd/%{daemon_binary_name}.service %{buildroot}/%{_unitdir}/%{daemon_binary_name}.service %files %doc README.md %license LICENSE %{python3_sitelib}/%{python_package_src}/ %{python3_sitelib}/%{python_package_src}-%{version}.dist-info/ # Binaries %{_bindir}/%{binary_name} %{_sbindir}/%{daemon_binary_name} %{_unitdir}/%{daemon_binary_name}.service %post systemctl daemon-reload || : %preun if [ "$1" -eq 0 ]; then systemctl stop %{daemon_binary_name}.service || : systemctl disable %{daemon_binary_name}.service || : fi %postun systemctl daemon-reload || : %changelog * Fri Nov 29 2024 Packit - 0.1.0-1.20241129150958452024.pr56.9.g3d6f6f1 - WIP (Rodolfo Olivieri) - [RSPEED-299] Initial setup for clad (#40) (Rodolfo Olivieri) - Apply suggestions from code review (Rodolfo Olivieri) - Refactor CLI to have separate commands (Rodolfo Olivieri) - Refactor config module (Rodolfo Olivieri) - Add CODEOWNERS file (#52) (Rodolfo Olivieri) - Remove container testing from pipeline (#51) (Martin "kokesak" Litwora) - Add more test cases to cover the recent features (#34) (Rodolfo Olivieri) - Update dependency coverage to v7.6.8 (#48) (renovate[bot])