Rebased to version 1.4.0

This commit is contained in:
Cole Robinson 2016-06-18 10:35:24 -04:00
parent 65aadae9dc
commit 322d5db57f
2 changed files with 16 additions and 6 deletions

View File

@ -1 +1 @@
8d20f953bab6caa9b347fc702258e55a virt-manager-1.3.2-20160520git2204de62d9.tar.gz
3cb69f1d108ae6d16bab2fce7ec639ea virt-manager-1.4.0.tar.gz

View File

@ -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 <crobinso@redhat.com> - 1.4.0-1
- Rebased to version 1.4.0
* Fri May 20 2016 Cole Robinson <crobinso@redhat.com> - 1.3.2-4.20160520git2204de62d9
- Rebase to latest git
- Update translations (bz #1323015)