Skip to content

Commit

Permalink
Spec fixes for Oracle 8 port. #1421
Browse files Browse the repository at this point in the history
  • Loading branch information
mfeit-internet2 committed Mar 20, 2024
1 parent 2105d61 commit ec82458
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}' \
Expand All @@ -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

Expand Down Expand Up @@ -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

# ------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ License: BSD
Group: Development/Libraries

Provides: %{name} = %{version}-%{release}
Provides: python-%{short} = %{version}-%{release}
Prefix: %{_prefix}

Vendor: Ilya Etingof <[email protected]>
Expand Down
1 change: 0 additions & 1 deletion python-pyasn1/unibuild-packaging/rpm/python-pyasn1.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ License: BSD
Group: Development/Libraries

Provides: %{name} = %{version}-%{release}
Provides: python-%{short} = %{version}-%{release}
Prefix: %{_prefix}

Vendor: Ilya Etingof <[email protected]>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ License: MIT
Group: Development/Libraries

Provides: %{name} = %{version}-%{release}
Provides: python-%{short} = %{version}-%{release}
Prefix: %{_prefix}

Vendor: Tobias Gustaffson
Expand Down

0 comments on commit ec82458

Please sign in to comment.