Update virt-who to 0.31.1-1

Resolves: #1658440 - Remove the use of environment variables for configuration
Resolves: #1890421 - New section of virt-who.conf file for environment variables
Resolves: #1887264 - Request to add http(s)_proxy, no_proxy to /etc/virt-who.conf
This commit is contained in:
William Poteat 2020-11-17 14:45:19 -05:00
commit b96331534a
3 changed files with 14 additions and 4 deletions

1
.gitignore vendored
View file

@ -9,3 +9,4 @@
/virt-who-0.29.0.tar.gz
/virt-who-0.31.0.tar.gz
/build-rpm-no-ahv.patch
/virt-who-0.31.1.tar.gz

View file

@ -1,2 +1,2 @@
SHA512 (virt-who-0.31.0.tar.gz) = f9d0247d333fb2544c6f54b12cc56ffb455224ccf1cd8e53ab1caa7272916ab9db316e4ed8bc13adc484e7c7f8797da32b526b4735e67fe80f20353b99e53f08
SHA512 (virt-who-0.31.1.tar.gz) = ff673beef7b81b084d5ed76f4d83c4fba11c0cfabcd60a7d81816232eb78b6387d1084212bd672e00df90a48ec024021643cb832cfd6cba9902cef1bfa8a239b
SHA512 (build-rpm-no-ahv.patch) = 0eafc41c1b16ff5823cc8c74625c80d4581fbc802fa802cf279d7b1828aab97028124ac26501eb70b258d44c3b6fc6f5644db1f193208f8411f6c733210748e1

View file

@ -20,7 +20,7 @@
Name: virt-who
Version: 0.31.0
Version: 0.31.1
Release: %{release_number}%{?dist}
Summary: Agent for reporting virtual guest IDs to subscription-manager
@ -126,7 +126,10 @@ install -m 644 virt-who-zsh %{buildroot}/%{_datadir}/zsh/site-functions/_virt-wh
# This adds the proper /etc/rc*.d links for the script
/sbin/chkconfig --add virt-who
%endif
# This moves parameters from old config to remaining general config file
%if (0%{?fedora} > 33 || 0%{?rhel} > 8)
%{python_exec} %{python_sitelib}/virtwho/migrate/migrateconfiguration.py
%endif
%preun
%if %{use_systemd}
@ -158,7 +161,6 @@ fi
%else
%{_sysconfdir}/rc.d/init.d/virt-who
%endif
%attr(600, root, root) %config(noreplace) %{_sysconfdir}/sysconfig/virt-who
%attr(700, root, root) %dir %{_sysconfdir}/virt-who.d
%{_mandir}/man8/virt-who.8.gz
%{_mandir}/man8/virt-who-password.8.gz
@ -171,6 +173,13 @@ fi
%changelog
* Tue Nov 17 2020 William Poteat <wpoteat@redhat.com> 0.31.1-1
- 1658440: Remove the use of environment variables for configuration
(wpoteat@redhat.com)
- Do not use deprecated isAlive() but use is_alive() (jhnidek@redhat.com)
- 1890421: New section of virt-who.conf file for environment variables
(wpoteat@redhat.com)
* Thu Oct 22 2020 William Poteat <wpoteat@redhat.com> 0.31.0-1
- 1876927: virt-who fails to parse output from hypervisor (wpoteat@redhat.com)
- Additional copy of patch file needed for build Update of Fedora versions in