- fix #! issue detected by CI
Resolves: rhbz#1989149
This commit is contained in:
parent
7fd6943ee8
commit
6d8c2d2401
@ -9,7 +9,7 @@
|
|||||||
Name: fence-agents
|
Name: fence-agents
|
||||||
Summary: Set of unified programs capable of host isolation ("fencing")
|
Summary: Set of unified programs capable of host isolation ("fencing")
|
||||||
Version: 4.10.0
|
Version: 4.10.0
|
||||||
Release: 6%{?alphatag:.%{alphatag}}%{?dist}
|
Release: 7%{?alphatag:.%{alphatag}}%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: https://github.com/ClusterLabs/fence-agents
|
URL: https://github.com/ClusterLabs/fence-agents
|
||||||
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.gz
|
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.gz
|
||||||
@ -252,6 +252,11 @@ for x in $LIBS; do
|
|||||||
%{__python3} -m pip install --target support/$(echo $x | sed -E "s/.*requirements-(.*).txt/\1/") --no-index --find-links %{_sourcedir} -r $x
|
%{__python3} -m pip install --target support/$(echo $x | sed -E "s/.*requirements-(.*).txt/\1/") --no-index --find-links %{_sourcedir} -r $x
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# fix incorrect #! detected by CI
|
||||||
|
%ifarch x86_64
|
||||||
|
sed -i -e "/^#\!\/Users/c#\!%{__python3}" support/aws/bin/jp support/aliyun/bin/jp support/awscli/bin/jp
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
sed -i -e "/^import awscli.clidriver/isys.path.insert(0, '/usr/lib/%{name}/support/awscli')" support/awscli/bin/aws
|
sed -i -e "/^import awscli.clidriver/isys.path.insert(0, '/usr/lib/%{name}/support/awscli')" support/awscli/bin/aws
|
||||||
%endif
|
%endif
|
||||||
@ -1242,7 +1247,7 @@ are located on corosync cluster nodes.
|
|||||||
%{_libdir}/fence-virt/cpg.so
|
%{_libdir}/fence-virt/cpg.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Aug 25 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.10.0-6
|
* Wed Aug 25 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.10.0-7
|
||||||
- remove suds dependency
|
- remove suds dependency
|
||||||
Resolves: rhbz#1989149
|
Resolves: rhbz#1989149
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user