diff --git a/cockpit-ovirt.spec b/cockpit-ovirt.spec index 488c42f24c6d039dd877fc68554898b682e89fd7..5c7386a0e258055db12ecb273758059969188d16 100644 --- a/cockpit-ovirt.spec +++ b/cockpit-ovirt.spec @@ -11,7 +11,7 @@ Name: cockpit-ovirt Version: 0.15.0 -Release: 2 +Release: 3 Summary: Dashboard for Cockpit based on %{product} License: ASL 2.0 URL: https://gerrit.ovirt.org/gitweb?p=cockpit-ovirt.git;a=summary @@ -37,7 +37,7 @@ Requires: cockpit-storaged Requires: ovirt-hosted-engine-setup >= 2.5.0 Requires: otopi >= 1.9.0 -Requires: ansible-2.9 +Requires: ansible %description This package provides a Cockpit dashboard for use with %{product}. @@ -69,6 +69,14 @@ export PATH="%{_datadir}/ovirt-engine-nodejs-modules/bin:${PATH}" %else %configure %endif + +# Change hardcoded deafult hash algorithm from legacy md4 to sha512 +sed -i 's/md4/sha512/g' dashboard/node_modules/webpack/lib/*.js +sed -i 's/md4/sha512/g' dashboard/node_modules/webpack/lib/optimize/*.js +sed -i 's/md4/sha512/g' dashboard/node_modules/terser-webpack-plugin/dist/index.js +sed -i 's/md4/sha512/g' dashboard/node_modules/copy-webpack-plugin/dist/postProcessPattern.js +sed -i 's/md4/sha512/g' dashboard/node_modules/babel-loader/lib/cache.js + make %install @@ -92,6 +100,10 @@ __EOF__ %dir %attr(700, root, root) %{_sharedstatedir}/ovirt-hosted-engine-setup/cockpit %changelog +* Thu Mar 02 2023 wangdi - 0.15.0-3 +- Change hardcoded deafult hash algorithm from legacy md4 to sha512 +- Change dependecy from ansible-2.9 to ansible since ansible version has bumped to 2.9 + * Fri Sep 24 2021 wutao - 0.15.0-2 - change ansible to ansible-2.9