Name: virt-who Version: 0.8 Release: 12%{?dist} Summary: Agent for reporting virtual guest IDs to subscription-manager License: GPLv2+ URL: https://fedorahosted.org/virt-who/ Source0: https://fedorahosted.org/releases/v/i/virt-who/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel Requires: libvirt-python Requires: libvirt # python-rhsm 1.0.4 contains new module for reading certificates Requires: python-rhsm >= 1.0.4 # python-suds is required for vSphere support Requires: python-suds # m2crypto is required for Hyper-V support Requires: m2crypto # for journal logging Requires: systemd-python # systemd stuff BuildRequires: systemd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd # Add Hyper-V support Patch0: virt-who-0.8-add-hyperv-support.patch # Create PID file ASAP to prevent service stop fails Patch1: virt-who-0.8-create-pid-file-asap.patch # Help and manpage improvements Patch2: virt-who-0.8-help-and-manpage-improvements.patch # Fix adding https:// to ESX url Patch3: virt-who-0.8-fix-adding-https-to-esx-url.patch # systemd support Patch4: virt-who-0.8-systemd.patch # logging using journal Patch5: virt-who-0.8-journal-logging.patch # Increase ESXi compatibility Patch6: virt-who-0.8-exsi-compatibility.patch %description Agent that collects information about virtual guests present in the system and report them to the subscription manager. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build %install make DESTDIR=$RPM_BUILD_ROOT install # Don't run test suite in check section, because it need the system to be # registered to subscription-manager server %post %systemd_post virt-who.service %preun %systemd_preun virt-who.service %postun %systemd_postun_with_restart virt-who.service %files %doc README README.hyperv LICENSE %{_bindir}/virt-who %{_datadir}/virt-who/ %{_unitdir}/virt-who.service %attr(600, root, root) %config(noreplace) %{_sysconfdir}/sysconfig/virt-who %{_mandir}/man8/virt-who.8.gz %changelog * Fri Jun 19 2015 Fedora Release Engineering - 0.8-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Feb 03 2015 Radek Novacek 0.8-11 - Fix permission of /etc/sysconfig/virt-who file - Resolves: #1186034 * Sun Jun 08 2014 Fedora Release Engineering - 0.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jun 14 2013 Radek Novacek 0.8-8 - Increase ESXi compatibility - Resolves: rhbz#923760 * Fri Feb 15 2013 Fedora Release Engineering - 0.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Nov 27 2012 Radek Novacek 0.8-6 - Add systemd support - specfile cleanup * Thu Oct 25 2012 Radek Novacek 0.8-5 - Fix adding https:// to ESX url * Wed Oct 24 2012 Radek Novacek 0.8-4 - Help and manpage improvements * Wed Oct 17 2012 Radek Novacek 0.8-3 - Fix bugs in Hyper-V support (patch rebased) - Create PID file ASAP to prevent service stop fails * Thu Oct 11 2012 Radek Novacek 0.8-2 - Add support for accessing Hyper-V * Wed Sep 26 2012 Radek Novacek 0.8-1 - Upstream version 0.8 - RFE: command line improvements - Add support for accessing RHEV-M - Fix printing tracebacks on terminal * Thu Apr 26 2012 Radek Novacek 0.6-6 - Handle unknown libvirt event properly * Wed Apr 18 2012 Radek Novacek 0.6-5 - Enable debug output to be written to stderr - Log guest list to log even in non-debug mode * Tue Apr 17 2012 Radek Novacek 0.6-4 - Fix regression in double fork patch * Wed Mar 28 2012 Radek Novacek 0.6-3 - Do double fork when daemon is starting * Fri Mar 09 2012 Radek Novacek 0.6-2 - Add python-suds require - Requires python-rhsm >= 0.98.6 * Thu Mar 01 2012 Radek Novacek 0.6-1 - Rebase to virt-who-0.6 * Wed Oct 12 2011 Radek Novacek 0.3-3 - Use updateConsumer API instead of updateConsumerFact (fixes limit 255 chars of uuid list) - Requires python-rhsm >= 0.96.13 * Wed Sep 07 2011 Radek Novacek - 0.3-2 - Add upstream patch that prevents failure when server not implements /status/ command * Thu Sep 01 2011 Radek Novacek - 0.3-1 - Add initscript and configuration file * Mon Aug 22 2011 Radek Novacek - 0.2-2 - Bump release because of tagging in wrong branch * Mon Aug 22 2011 Radek Novacek - 0.2-1 - Update to upstream version 0.2 - Add Requires: libvirt * Fri Aug 19 2011 Radek Novacek - 0.1-2 - Add BuildRoot tag (the package will be in RHEL5) * Wed Aug 10 2011 Radek Novacek - 0.1-1 - initial import