- fence_compute: add missing libs

Resolves: rhbz#1857247
This commit is contained in:
Oyvind Albrigtsen 2021-08-31 11:48:16 +02:00
parent 6d8c2d2401
commit c66b0b2d5e
3 changed files with 63 additions and 37 deletions

View File

@ -9,7 +9,7 @@
Name: fence-agents
Summary: Set of unified programs capable of host isolation ("fencing")
Version: 4.10.0
Release: 7%{?alphatag:.%{alphatag}}%{?dist}
Release: 8%{?alphatag:.%{alphatag}}%{?dist}
License: GPLv2+ and LGPLv2+
URL: https://github.com/ClusterLabs/fence-agents
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.gz
@ -96,26 +96,35 @@ Source1060: rsa-4.7.2-py3-none-any.whl
Source1061: setuptools-57.0.0-py3-none-any.whl
Source1062: uritemplate-3.0.1-py2.py3-none-any.whl
# openstack
Source1063: debtcollector-2.2.0-py3-none-any.whl
Source1064: iso8601-0.1.14-py2.py3-none-any.whl
Source1065: keystoneauth1-4.3.1-py3-none-any.whl
Source1066: msgpack-1.0.2.tar.gz
Source1067: netaddr-0.8.0-py2.py3-none-any.whl
Source1068: netifaces-0.11.0.tar.gz
Source1069: oslo.i18n-5.0.1-py3-none-any.whl
Source1070: oslo.serialization-4.1.0-py3-none-any.whl
Source1071: oslo.utils-4.9.1-py3-none-any.whl
Source1072: os_service_types-1.7.0-py2.py3-none-any.whl
Source1073: pbr-5.6.0-py2.py3-none-any.whl
Source1074: prettytable-2.1.0-py3-none-any.whl
Source1075: python_novaclient-17.5.0-py3-none-any.whl
Source1076: stevedore-3.3.0-py3-none-any.whl
Source1077: wcwidth-0.2.5-py2.py3-none-any.whl
Source1078: wrapt-1.12.1.tar.gz
Source1063: PyYAML-5.1.tar.gz
Source1064: charset_normalizer-2.0.4-py3-none-any.whl
Source1065: debtcollector-2.2.0-py3-none-any.whl
Source1066: idna-3.2-py3-none-any.whl
Source1067: iso8601-0.1.16-py2.py3-none-any.whl
Source1068: keystoneauth1-4.3.1-py3-none-any.whl
Source1069: msgpack-1.0.2.tar.gz
Source1070: netaddr-0.8.0-py2.py3-none-any.whl
Source1071: netifaces-0.11.0.tar.gz
Source1072: oslo.config-8.7.1-py3-none-any.whl
Source1073: oslo.i18n-5.0.1-py3-none-any.whl
Source1074: oslo.serialization-4.2.0-py3-none-any.whl
Source1075: oslo.utils-4.10.0-py3-none-any.whl
Source1076: os_service_types-1.7.0-py2.py3-none-any.whl
Source1077: pbr-5.6.0-py2.py3-none-any.whl
Source1078: packaging-21.0-py3-none-any.whl
Source1079: prettytable-2.2.0-py3-none-any.whl
Source1080: python_keystoneclient-4.2.0-py3-none-any.whl
Source1081: python_novaclient-17.5.0-py3-none-any.whl
Source1082: requests-2.26.0-py2.py3-none-any.whl
Source1083: rfc3986-1.5.0-py2.py3-none-any.whl
Source1084: stevedore-3.4.0-py3-none-any.whl
Source1085: wcwidth-0.2.5-py2.py3-none-any.whl
Source1086: wheel-0.37.0-py2.py3-none-any.whl
Source1087: wrapt-1.12.1.tar.gz
# common (pexpect / suds)
Source1079: pexpect-4.8.0-py2.py3-none-any.whl
Source1080: ptyprocess-0.7.0-py2.py3-none-any.whl
Source1081: suds_community-0.8.5-py3-none-any.whl
Source1088: pexpect-4.8.0-py2.py3-none-any.whl
Source1089: ptyprocess-0.7.0-py2.py3-none-any.whl
Source1090: suds_community-0.8.5-py3-none-any.whl
### END ###
Patch0: ha-cloud-support-aliyun.patch
@ -449,20 +458,28 @@ Support libraries for Fence Agents.
%package -n ha-openstack-support
License: GPLv2+ and LGPLv2+
Summary: Support libraries for OpenStack agents
Provides: bundled(python-PyYAML) = 5.1
Provides: bundled(python-charset-normalizer) = 2.0.4
Provides: bundled(python-debtcollector) = 2.2.0
Provides: bundled(python-iso8601) = 0.1.14
Provides: bundled(python-idna) = 3.2
Provides: bundled(python-iso8601) = 0.1.16
Provides: bundled(python-keystoneauth1) = 4.3.1
Provides: bundled(python-msgpack) = 1.0.2
Provides: bundled(python-netaddr) = 0.8.0
Provides: bundled(python-netifaces) = 0.11.0
Provides: bundled(python-oslo-config) = 8.7.1
Provides: bundled(python-oslo-i18n) = 5.0.1
Provides: bundled(python-oslo-serialization) = 4.1.0
Provides: bundled(python-oslo-utils) = 4.9.1
Provides: bundled(python-oslo-serialization) = 4.2.0
Provides: bundled(python-oslo-utils) = 4.10.0
Provides: bundled(python-os-service-types) = 1.7.0
Provides: bundled(python-packaging) = 21.0
Provides: bundled(python-pbr) = 5.6.0
Provides: bundled(python-prettytable) = 2.1.0
Provides: bundled(python-prettytable) = 2.2.0
Provides: bundled(python-keystoneclient) = 4.2.0
Provides: bundled(python-novaclient) = 17.5.0
Provides: bundled(python-stevedore) = 3.3.0
Provides: bundled(python-requests) = 2.26.0
Provides: bundled(python-rfc3986) = 1.5.0
Provides: bundled(python-stevedore) = 3.4.0
Provides: bundled(python-wcwidth) = 0.2.5
Provides: bundled(python-wrapt) = 1.12.1
%description -n ha-openstack-support
@ -1247,6 +1264,10 @@ are located on corosync cluster nodes.
%{_libdir}/fence-virt/cpg.so
%changelog
* Tue Aug 31 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.10.0-8
- OpenStack agents: add dependency
Resolves: rhbz#1857247
* Wed Aug 25 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.10.0-7
- remove suds dependency
Resolves: rhbz#1989149
@ -1263,10 +1284,6 @@ are located on corosync cluster nodes.
- Remove "BuildArch: noarch" for arch-specific subpackages
Resolves: rhbz#1979827
* Thu Jul 1 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.9.0-3
- OpenStack agents: add dependency
Resolves: rhbz#1857247
* Fri Jun 4 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.9.0-1
- Rebase and add fence-virt subpackages
Resolves: rhbz#1965988

21
sources
View File

@ -6,7 +6,7 @@ SHA512 (requirements-awscli.txt) = fb88998a860e25d9423833b53b150e564a2cd46ac54b0
SHA512 (requirements-aws.txt) = ca39604d09f4b05589ddaa437be13b7f5d1868218745df107564d73a6c32efb7e4761436197a69653edc47a78f40dd7d5f0894935ec21b8f23b7c7bc71dfd0d1
SHA512 (requirements-azure.txt) = a176aeaba7f13ca126bc6b41de1237148480787e4fe56cd9969b843d7102b24cbef2c9f9bd5e4460c603da96ba588639a77dfb376f9ab4ff6f7c2a29013edc31
SHA512 (requirements-google.txt) = d916eb72588e55f5243b9e5391ab07d65eaafe583e073ef79d0e865f4c5e911d7b10310f7ccb98b5fdc1383c2214cc0cc082fa3c5fac6aa3d1931e4779149241
SHA512 (requirements-openstack.txt) = e4c6ee00ff7bedd0229aa9ba9380cb20891f5fdd35e39bcc9d6c8e21ce9e7fffe18e383a44ea711266d07f47e9ffa3123beeafb14d0c9b62ddb0456b86e57f22
SHA512 (requirements-openstack.txt) = 0c756b450f987418d49d7539e2a687a8f4e0ea7018881ceefa7dbe803a8415b2c6572a89fd2efc3a1d14c8d00a2dfff149742f5ea0f525538a5b99de9fe19821
SHA512 (requirements-common.txt) = 48725599ca3e019f34ce59b78a6ac1deb0cc459e062cd87d5bc96dc2a47f9ef86cc46d50c318c3cd83765882fab40bdfcc03feff82933ed3bdce35b50fbb696e
SHA512 (aliyun-python-sdk-core-2.11.5.tar.gz) = 4178056b2b94b314924c671c26a15696493412ab0a61c13ff64eeff72f0e0c80960269db34471adce34d35e23578b8b54953a242fd575560c2312d672871b951
SHA512 (aliyun_python_sdk_ecs-4.24.7-py2.py3-none-any.whl) = e479191136e74eaa1f52ba0b317c721cdb1fc1972f074377dd6a7616ef79d93b8b494a53d7d745d8438be748e3d14dbbab6e8433381d1ea589fa073d1ed0e52e
@ -71,21 +71,30 @@ SHA512 (pytz-2021.1-py2.py3-none-any.whl) = 7ef08f53204664d6426bcb77e6f74bad8263
SHA512 (rsa-4.7.2-py3-none-any.whl) = 39d2295a067501d94808f109c846e5c4719b2f3e1129494ade51291627fb5d1728d7bafeac7db557e69b5e53a8c0a09cdda59d8b672164fbd61bf6b70da30d62
SHA512 (setuptools-57.0.0-py3-none-any.whl) = ada554059e107829053c86d67b270250de96d06e6650c07abfbfb544f04dcdeec19fd174f34c4b0c6b5bad64a6cd7306857d0b1753ec2af1164375be18388db5
SHA512 (uritemplate-3.0.1-py2.py3-none-any.whl) = 0d4cfc2eb14b73f17ef9d82a08d9bc7fbc8a1efd1e51693e20c51c01812e7597ebe964904f79fd86e21d06bd690abfdf9bd2824e8f957dd8a9486e3b860d58d0
SHA512 (PyYAML-5.1.tar.gz) = 8f27f92bdfa310a99dd6d83947332cc033fa18f0011998bb585ad5c4340a2da20d8c20bfdb53beaae15651198d1240c986818379b0a05b230f74d1f30f53e7fd
SHA512 (charset_normalizer-2.0.4-py3-none-any.whl) = 75c725012838c70e0a8f6ce4bd446e1c03a20648a580131d26528676abcc4f3cfd9b7f0a49489c1694e9359b8f5a1b34926b2f4209e464743f60f3099416261b
SHA512 (debtcollector-2.2.0-py3-none-any.whl) = bc1b5a9e5c906149327ff7bfb22951d32e51731dbe3da26dac2084d36646b2ccd2524ffe25648937837aa3fe41335a896e021b95e0bd775d6132c5ec1803d525
SHA512 (iso8601-0.1.14-py2.py3-none-any.whl) = d7c5dad686e74974a3d173ae6428a65310819d404358e77143a11fe1e93776073e3ba2019b2fe00b7fd08fa36d841d621894311dfc0125dba767e87d6cb72298
SHA512 (idna-3.2-py3-none-any.whl) = 10dc4905aec2c6c9cd0abfb4335cc13ef13809d817d0a58da3326cb5e3a8a91321a6225715887aa195f464776a4d5e61fd45b972dfaf67e7c8f874787191cbfb
SHA512 (iso8601-0.1.16-py2.py3-none-any.whl) = 23c9da7db50d70cf5814ff9cdf5bd674928553d24b718218b1487e8a545ebd0daab0f7f76693057a23b9811930252d61b5f6dc852afa722eb3f43b111ff46f81
SHA512 (keystoneauth1-4.3.1-py3-none-any.whl) = ffda2c4b9cdf2be2776f55df716bd2148ae04716e6b38edc86ce06a2ceb26519dcfafcef51b1a0f3ea48492e26456166680fafb33e62c5d1db015063556c41c2
SHA512 (msgpack-1.0.2.tar.gz) = afe658c2cd5b443aae8fc3305eb3fd56811130062f95e283e3538cba27949d534de60171a927426fedb23b48a938de3f15d77057beda6c73e5204ef1130cd046
SHA512 (netaddr-0.8.0-py2.py3-none-any.whl) = 19ffe6d5bf9a1c41e1ef86c0a0acbc2764c311ab63d262769eea8791d8969160c12d20adb45f6d5d2a54f5e0a2e183afe9628e852cfbc152553f467b9ddde8e4
SHA512 (netifaces-0.11.0.tar.gz) = a53110efb78c89c4d72d002104866253a4c085dd27ff9f41d4cfe3811cc5619e7585ceda4e91e83cdd0645c40c745c61d205708ee9a34427b35f437a48f148e5
SHA512 (oslo.config-8.7.1-py3-none-any.whl) = ef61cc587f02421d10e19dbe5f85e3b4651015c0cc26fe79fccc48927c9340686f552fc9842863118ea43a6bcd5db882c7f994cf5b17c43f36ebfa5882a0c979
SHA512 (oslo.i18n-5.0.1-py3-none-any.whl) = 6f58e88c9e3691016dec79588b4e68eb3ad651b74ff900eac26104cec4f6a87495e60ad57b6c8e9787caf1946cc9ed0d39c7e462ed5cf18639b1bd67b586a849
SHA512 (oslo.serialization-4.1.0-py3-none-any.whl) = 0a64ee20c26b890509d5170c75c50dbb12fa64dad1a4254551d455ceb5e8d5a773b31a5693a7cc2299dab7dd5eef9b7ceaa1af054af15016a6c849388db5ae42
SHA512 (oslo.utils-4.9.1-py3-none-any.whl) = 71325957c5012d1f69fda14e6e812b367a6ac1d26dcd64e005c3dd6eef2fec77f0282d0f66a44f749943bffc836722b99b612091ce9b7d3c0aaecfa09f860de3
SHA512 (oslo.serialization-4.2.0-py3-none-any.whl) = 0a499cac0a8f9fea952ff60c6d528a6e446b336d34556e2e4f3cb682c99359b3cf45deb65169a38bfe2477610259b2917bc4baf735998365d47964c33cdd6884
SHA512 (oslo.utils-4.10.0-py3-none-any.whl) = 17f0b1c8af82261c3d738ddd14c866f8020274ca82925e6d268db0bf93b4faf388cbf6fe6269cce25e755ba17d202a3df0933e006b357635f26084d03822b70f
SHA512 (os_service_types-1.7.0-py2.py3-none-any.whl) = 8bb7bbd58336587b067e84e29757e1618684f6735f6a7fa26cde94cfdeab6b7f25b49ee895ac3cb2707a9fbcff2f91277edd056e428a4cd1def6599dce9660b7
SHA512 (packaging-21.0-py3-none-any.whl) = 9f369d751435f37b7bbadaf3c8bcb80503b4274afd84d7c0c3c5199623e94a375cca420a4312babedc262f49995f8e3f1ad3d0d93578e74203db8561467ad8ad
SHA512 (pbr-5.6.0-py2.py3-none-any.whl) = a4d32f6660ac76150a5d9db51d0c1be64a9df32d7b97c106e2e4de2d1dcc0cb83be991847b491bcd5b65c5a0e41f47406fa1e8a185bd1eb4fd09fe80867b005a
SHA512 (prettytable-2.1.0-py3-none-any.whl) = 141ac3b95a3bf038cb84bee94a9ac54ede5100884bd3afda55298f61f624cc349687e3b087a0afb6002e645416e4c21a6d0a41898167cb50314c416843ea2711
SHA512 (prettytable-2.2.0-py3-none-any.whl) = 40e0bd5252dde9685de53cff11afc1f1b0477f7caf449aa12d6ee9589099b69d60f6c07fd71f00406702a9bc9c1373c3108c37c377b9ba53c28dc95cc6f39922
SHA512 (python_keystoneclient-4.2.0-py3-none-any.whl) = 7552edcd23c36f40decb37cf6160896dd2b3a9543338b35134da2830d3927004992f3b9d3e42bbddc2068d833f04acce53cc2c052571affdf735dc90aa314018
SHA512 (python_novaclient-17.5.0-py3-none-any.whl) = d369ba62d4b98958b3dc95ed3d702c8b7d8d70172108f0f1094c8d97561c90b9d8272974be688640d343e0a320254429e1f618d3ce0aaa9b6d9009bdf237daf9
SHA512 (stevedore-3.3.0-py3-none-any.whl) = a7512be9f0a9fa6abb4e0722b25348e0559b044c172388c1952cff9d1cc5816a580da8edbd5f74cdaf0a56fd637c2c27b5d8e3dd52465317282e06a7c9ac32b5
SHA512 (requests-2.26.0-py2.py3-none-any.whl) = ab0b245535ed57b6b05699a5e032d6114be081e682ffd4cd0414f861d1b216db5bce640c3996bfce9cbdbca6490c999d5925cfe713c6026adb0d4b035084dc76
SHA512 (rfc3986-1.5.0-py2.py3-none-any.whl) = d9f4db81a24c2988c92531bf1bda126f6aa2fdc6f81eadc666adb1e555f5f87930e40f6f93a5c2a2ddc126be30ca30443c3c86d6e89b31150fdb77668a415f8a
SHA512 (stevedore-3.4.0-py3-none-any.whl) = c8450741760acd757ccbe697939e1aa36abe6e54f2cd2c2d4fdb83700c0e84268a07bf5ed7fdde67869e02ea9a9fbd83627403f0dfd950dcafd48402d58d46f4
SHA512 (wcwidth-0.2.5-py2.py3-none-any.whl) = f83eb241322d171ff4014612184b155c43c71e54794a2a227c4adb43c697a669944bb6bb49e59aa192492822e3e3a44a944f57d428a9e25707f7deeb4ccf5cd9
SHA512 (wheel-0.37.0-py2.py3-none-any.whl) = 340ab4ad7337db653b173f4283fdacc3d5e8b3a1b133e3017d53c41f79f0cf7b327d8f530d07a0344435c4ffcdb10d36a4881586e6637658b70f88835ca8afa7
SHA512 (wrapt-1.12.1.tar.gz) = efc38c0adc4fcaa34499a996ea4a337a000a812254ec7ddaca38f0132020dd31afa9fe6bab3e6010df312282ab0ea7bd571b54215d8d27e0b97b270c08cf5a62
SHA512 (pexpect-4.8.0-py2.py3-none-any.whl) = 79b3a33866f8fec11a5ccf079387b7de393cdee65167671db0ac42cf3d6c2e544c40ee344c1b5f7deb13d97057300c86f605df30fbfff9c6773944886c5158c0
SHA512 (ptyprocess-0.7.0-py2.py3-none-any.whl) = aa6c925add18a9603f130887e2a0ec645eb5bbf6b8020c78450a7cee934454dc46d1a435068368347f851d45550ea0fda8fb2ba0864c24c41e17a58bc7a9e84f

View File

@ -1,6 +1,6 @@
#!/bin/sh
echo -e "Run \"pip download --no-binary msgpack,netifaces -r requirements-$1.txt\" to update,\n\
echo -e "Run \"pip download --no-binary PyYAML,msgpack,netifaces -r requirements-$1.txt\" to update,\n\
and add output from \"sha512sum --tag <updated-files>\" to sources, and update spec-file."
exit 0
@ -14,7 +14,7 @@ sha512sum --tag requirements-*.txt >> sources
for x in requirements-*.txt; do
echo "# $x" | sed -E "s/requirements-(.*).txt/\1/" >> sources
pip download --no-binary msgpack,netifaces -r $x | awk '/Saved/{gsub("./", "", $2); print $2}' | sort | xargs sha512sum --tag >> sources
pip download --no-binary PyYAML,msgpack,netifaces -r $x | awk '/Saved/{gsub("./", "", $2); print $2}' | sort | xargs sha512sum --tag >> sources
done
awk 'NR<11{next} /^# /{print}; /^[^#]/{gsub("[()]", "", $2); printf "Source%d: %s\n", 1000+c++, $2}' sources