File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -526,8 +526,8 @@ BuildRequires: libcryptopp-devel
526526BuildRequires: libnuma-devel
527527%endif
528528%endif
529- %if 0%{?rhel} >= 8
530- BuildRequires: /usr/bin/pathfix.py
529+ %if 0%{?rhel} >= 9
530+ BuildRequires: python-rpm-macros
531531%endif
532532
533533%description
@@ -1634,8 +1634,7 @@ install -m 0644 -D udev/50-rbd.rules %{buildroot}%{_udevrulesdir}/50-rbd.rules
16341634install -m 0440 -D sudoers.d/ceph-smartctl %{buildroot}%{_sysconfdir}/sudoers.d/ceph-smartctl
16351635
16361636%if 0%{?rhel} >= 8 || 0%{?openEuler}
1637- pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_bindir}/*
1638- pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_sbindir}/*
1637+ %{py3_shebang_fix} %{buildroot}%{_bindir}/* %{buildroot}%{_sbindir}/*
16391638%endif
16401639
16411640#set up placeholder directories
You can’t perform that action at this time.
0 commit comments