Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpm: add python3-hirte package #351

Merged
merged 2 commits into from
Jun 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions hirte.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ This package contains the controller and command line tool.
%{_unitdir}/hirte.service
%{_unitdir}/hirte.socket

%package -n python3-%{name}
Summary: Hirte python module
BuildArch: noarch
BuildRequires: python3-devel
Buildrequires: python3dist(dasbus)

%description -n python3-%{name}
A python module for hirte.

%package agent
Summary: Hirte service controller agent
Requires: systemd
Expand Down Expand Up @@ -145,6 +154,12 @@ This package contains the service controller command line tool.
%{_bindir}/hirtectl
%{_mandir}/man1/hirtectl.*

%files -n python3-%{name}
dougsland marked this conversation as resolved.
Show resolved Hide resolved
%license LICENSE
%{python3_sitelib}/%{name}/__init__.py
%{python3_sitelib}/%{name}/config.py
%{python3_sitelib}/%{name}/__pycache__/

%prep
%autosetup

Expand All @@ -156,6 +171,8 @@ This package contains the service controller command line tool.

%install
%meson_install
install -p -D -m 0644 src/bindings/python/hirte/__init__.py %{buildroot}%{python3_sitelib}/%{name}/__init__.py
dougsland marked this conversation as resolved.
Show resolved Hide resolved
install -p -D -m 0644 src/bindings/python/hirte/config.py %{buildroot}%{python3_sitelib}/%{name}/config.py


%check
Expand Down