diff --git a/pscheduler-server/pscheduler-server/unibuild-packaging/rpm/pscheduler-server.spec b/pscheduler-server/pscheduler-server/unibuild-packaging/rpm/pscheduler-server.spec index 06632899e..92323e4c3 100644 --- a/pscheduler-server/pscheduler-server/unibuild-packaging/rpm/pscheduler-server.spec +++ b/pscheduler-server/pscheduler-server/unibuild-packaging/rpm/pscheduler-server.spec @@ -253,7 +253,7 @@ mkdir -p $RPM_BUILD_ROOT/%{_pscheduler_log_dir} # # API Server # -API_ROOT="$(python -c 'import pscheduler ; print(pscheduler.api_root())')" +API_ROOT="$(%{_pscheduler_python} -c 'import pscheduler ; print(pscheduler.api_root())')" make -C api-server \ 'USER_NAME=%{_pscheduler_user}' \ @@ -264,7 +264,7 @@ make -C api-server \ "PREFIX=${RPM_BUILD_ROOT}" \ "DSN_FILE=%{dsn_file}" \ "LIMITS_FILE=%{_pscheduler_limit_config}" \ - "PYTHON=%(command -v python)" \ + "PYTHON=%(command -v %{_pscheduler_python})" \ "RUN_DIR=%{run_dir}" \ install @@ -582,7 +582,7 @@ fi # Any upgrade of python-pscheduler needs to force a database restart # because Pg doesn't see module upgrades. -%triggerin -- python-pscheduler +%triggerin -- %{_pscheduler_python}-pscheduler systemctl reload-or-try-restart postgresql # ------------------------------------------------------------------------------ diff --git a/python-jsonschema/unibuild-packaging/rpm/python-jsonschema.spec b/python-jsonschema/unibuild-packaging/rpm/python-jsonschema.spec index 655ecc392..8784d2c2c 100644 --- a/python-jsonschema/unibuild-packaging/rpm/python-jsonschema.spec +++ b/python-jsonschema/unibuild-packaging/rpm/python-jsonschema.spec @@ -12,8 +12,6 @@ License: MIT Group: Development/Libraries Provides: %{name} = %{version}-%{release} -Provides: python-%{short} = %{version}-%{release} -Provides: python-%{short} = %{version}-%{release} Prefix: %{_prefix} Vendor: Julian Berman diff --git a/python-pyasn1-modules/unibuild-packaging/rpm/python-pyasn1-modules.spec b/python-pyasn1-modules/unibuild-packaging/rpm/python-pyasn1-modules.spec index 9bf8e90e9..e7ea4ef7c 100644 --- a/python-pyasn1-modules/unibuild-packaging/rpm/python-pyasn1-modules.spec +++ b/python-pyasn1-modules/unibuild-packaging/rpm/python-pyasn1-modules.spec @@ -12,7 +12,6 @@ License: BSD Group: Development/Libraries Provides: %{name} = %{version}-%{release} -Provides: python-%{short} = %{version}-%{release} Prefix: %{_prefix} Vendor: Ilya Etingof diff --git a/python-pyasn1/unibuild-packaging/rpm/python-pyasn1.spec b/python-pyasn1/unibuild-packaging/rpm/python-pyasn1.spec index c7a653c3a..b896eb8d0 100644 --- a/python-pyasn1/unibuild-packaging/rpm/python-pyasn1.spec +++ b/python-pyasn1/unibuild-packaging/rpm/python-pyasn1.spec @@ -12,7 +12,6 @@ License: BSD Group: Development/Libraries Provides: %{name} = %{version}-%{release} -Provides: python-%{short} = %{version}-%{release} Prefix: %{_prefix} Vendor: Ilya Etingof diff --git a/python-pyrsistent/unibuild-packaging/rpm/python-pyrsistent.spec b/python-pyrsistent/unibuild-packaging/rpm/python-pyrsistent.spec index e324ce952..5ae02b39c 100644 --- a/python-pyrsistent/unibuild-packaging/rpm/python-pyrsistent.spec +++ b/python-pyrsistent/unibuild-packaging/rpm/python-pyrsistent.spec @@ -13,7 +13,6 @@ License: MIT Group: Development/Libraries Provides: %{name} = %{version}-%{release} -Provides: python-%{short} = %{version}-%{release} Prefix: %{_prefix} Vendor: Tobias Gustaffson