From 95809d7ee3ffe881e7e76877185ed43e4e5f0c54 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 12 Mar 2025 14:17:08 +0000 Subject: automatic import of resalloc --- resalloc.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resalloc.spec b/resalloc.spec index 46fa07e..69f5ef7 100644 --- a/resalloc.spec +++ b/resalloc.spec @@ -22,8 +22,6 @@ The resalloc project aims to help with taking care of dynamically \ allocated resources, for example ephemeral virtual machines used for \ the purposes of CI/CD tasks. -%global default_sitelib %python_sitelib - Name: %srcname Summary: %sum - client tooling Version: 5.9 @@ -194,7 +192,7 @@ make check TEST_PYTHONS="python3" # Simplify "alembic upgrade head" actions. -ln -s "%{default_sitelib}/%{name}server" %buildroot%_homedir/project +ln -s "%{python3_sitelib}/%{name}server" %buildroot%_homedir/project %pre server @@ -257,7 +255,7 @@ ln -s "%{default_sitelib}/%{name}server" %buildroot%_homedir/project %files agent-spawner %_bindir/resalloc-agent* -%{default_sitelib}/%{name}_agent_spawner +%{python3_sitelib}/%{name}_agent_spawner %_unitdir/resalloc-agent-spawner.service %config(noreplace) %_sysconfdir/resalloc-agent-spawner -- cgit v1.2.3