Skip to content

Commit

Permalink
Update dependency in spec file and set Python ver
Browse files Browse the repository at this point in the history
  • Loading branch information
tofu-rocketry committed Sep 11, 2024
1 parent 84ea37d commit 516cb67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apel-ssm.spec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
%define __python /usr/bin/python3

# Conditionally define python_sitelib
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Expand All @@ -21,7 +23,7 @@ BuildArch: noarch
BuildRequires: python-devel
%endif

Requires: stomppy < 5.0.0, python-setuptools, openssl
Requires: stomppy < 8.1.1, python-setuptools, openssl
Requires(pre): shadow-utils

%define ssmconf %_sysconfdir/apel
Expand Down

0 comments on commit 516cb67

Please sign in to comment.