Browse Source

iscsi-initiator-utils update python scripts

Signed-off-by: basebuilder_pel7ppc64bebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64bebuilder0 5 years ago
parent
commit
5f8b280c9f
  1. 6
      SPECS/iscsi-initiator-utils.spec

6
SPECS/iscsi-initiator-utils.spec

@ -28,7 +28,7 @@ Patch0004: 0004-update-systemd-service-files-add-iscsi.service-for-s.patch
Patch0005: 0005-iscsi-boot-related-service-file-updates.patch Patch0005: 0005-iscsi-boot-related-service-file-updates.patch
Patch0006: 0006-update-initscripts-and-docs.patch Patch0006: 0006-update-initscripts-and-docs.patch
Patch0007: 0007-use-var-for-config.patch Patch0007: 0007-use-var-for-config.patch
Patch0008: 0008-use-red-hat-for-name.patch Patch0008: 0008-use-powerel-for-name.patch
Patch0009: 0009-libiscsi.patch Patch0009: 0009-libiscsi.patch
Patch0010: 0010-remove-the-offload-boot-supported-ifdef.patch Patch0010: 0010-remove-the-offload-boot-supported-ifdef.patch
Patch0011: 0011-iscsiuio-systemd-unit-files.patch Patch0011: 0011-iscsiuio-systemd-unit-files.patch
@ -158,7 +158,7 @@ pushd libiscsi
%if %{with python2} %if %{with python2}
%py2_build %py2_build
%endif # with python2 %endif # with python2
%py3_build %{__python3} setup.py build
touch -r libiscsi.doxy html/* touch -r libiscsi.doxy html/*
popd popd


@ -219,7 +219,7 @@ pushd libiscsi
%if %{with python2} %if %{with python2}
%py2_install %py2_install
%endif # with python2 %endif # with python2
%py3_install %{__python3} setup.py install --optimize 2 --root %{buildroot}
popd popd





Loading…
Cancel
Save