diff options
author | CoprDistGit <infra@openeuler.org> | 2025-03-12 14:17:08 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-03-12 14:17:08 +0000 |
commit | 95809d7ee3ffe881e7e76877185ed43e4e5f0c54 (patch) | |
tree | 435a9b6ffb3963edeb8d961c39a6259476fef348 | |
parent | b1726c57058ccb39bfc0f856f15772dcc767118c (diff) |
automatic import of resallocopeneuler24.03_LTS_SP1
-rw-r--r-- | resalloc.spec | 6 |
1 files 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 |