diff --git a/sources b/sources index ed84abb..2716272 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8d20f953bab6caa9b347fc702258e55a virt-manager-1.3.2-20160520git2204de62d9.tar.gz +3cb69f1d108ae6d16bab2fce7ec639ea virt-manager-1.4.0.tar.gz diff --git a/virt-manager.spec b/virt-manager.spec index 0412fd3..399c13f 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -17,10 +17,10 @@ # End local config -%global gittag 20160520git2204de62d9 + Name: virt-manager -Version: 1.3.2 -Release: 4.%{gittag}%{?dist} +Version: 1.4.0 +Release: 1%{?dist} %global verrel %{version}-%{release} Summary: Desktop tool for managing virtual machines via libvirt @@ -28,8 +28,7 @@ Group: Applications/Emulators License: GPLv2+ BuildArch: noarch URL: http://virt-manager.org/ -#Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz -Source0: %{name}-%{version}-%{gittag}.tar.gz +Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz Requires: virt-manager-common = %{verrel} @@ -107,6 +106,7 @@ machine). %prep %setup -q + %build %if %{qemu_user} %global _qemu_user --qemu-user=%{qemu_user} @@ -152,6 +152,13 @@ python setup.py \ install -O1 --root=%{buildroot} %find_lang %{name} +# Replace '#!/usr/bin/env python2' with '#!/usr/bin/python2' +# The format is ideal for upstream, but not a distro. See: +# https://fedoraproject.org/wiki/Features/SystemPythonExecutablesUseSystemPython +for f in $(find %{buildroot} -type f -executable -print); do + sed -i "1 s|^#!/usr/bin/env python2|#!%{__python2}|" $f || : +done + # The conversion script was only added to virt-manager after several # Fedora cycles of using gsettings. Installing it now could convert old data # and wipe out recent settings. @@ -220,6 +227,9 @@ fi %{_bindir}/virt-xml %changelog +* Sat Jun 18 2016 Cole Robinson - 1.4.0-1 +- Rebased to version 1.4.0 + * Fri May 20 2016 Cole Robinson - 1.3.2-4.20160520git2204de62d9 - Rebase to latest git - Update translations (bz #1323015)