Skip to content

Commit c850ecb

Browse files
committed
Merge branch '5.0.7'
2 parents f40c6c8 + 2deb3b2 commit c850ecb

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

toolkit/perfsonar-toolkit/unibuild-packaging/rpm/perfsonar-toolkit.spec

+12-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
%define crontab_1 cron-service_watcher
1818

1919
%define perfsonar_auto_version 5.0.7
20-
%define perfsonar_auto_relnum 1
20+
%define perfsonar_auto_relnum 2
2121

2222
Name: perfsonar-toolkit
2323
Version: %{perfsonar_auto_version}
@@ -146,8 +146,12 @@ Requires(post): coreutils
146146
Requires(post): httpd
147147
Requires(post): iperf
148148
Requires(post): mod_ssl
149+
#EL8 puts this in systemd, EL7 and EL9 in systemd-resolved
150+
%if 0%{?el8}
151+
Requires(post): systemd
152+
%else
149153
Requires(post): systemd-resolved
150-
154+
%endif
151155

152156
%description
153157
The perfSONAR Toolkit web GUI and associated services.
@@ -156,7 +160,12 @@ The perfSONAR Toolkit web GUI and associated services.
156160
Summary: perfSONAR Testpoint System Configuration
157161
Group: Development/Tools
158162
Requires: perfsonar-psconfig-pscheduler
159-
Requires: systemd-resolved
163+
#EL8 puts this in systemd, EL7 and EL9 in systemd-resolved
164+
%if 0%{?el8}
165+
Requires: systemd
166+
%else
167+
Requires: systemd-resolved
168+
%endif
160169
%if 0%{?el7}
161170
Requires: yum-cron
162171
%else

0 commit comments

Comments
 (0)