summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resalloc.spec6
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