[fedora-virt-maint] rpms/libvirt/devel libvirt.spec,1.159,1.160
Daniel P. Berrange
berrange at fedoraproject.org
Thu Jul 30 11:07:16 UTC 2009
- Previous message (by thread): [fedora-virt-maint] rpms/libvirt-java/F-10 import.log, NONE, 1.1 .cvsignore, 1.3, 1.4 libvirt-java.spec, 1.3, 1.4 sources, 1.3, 1.4 libvirt-0.2.1-gcj-javadoc.patch, 1.2, NONE
- Next message (by thread): [fedora-virt-maint] rpms/qemu/devel qemu-fix-optionrom-install.patch, NONE, 1.1 qemu-bios-bigger-roms.patch, 1.8, 1.9 qemu-fix-linux-user-build-on-ppc.patch, 1.4, 1.5 qemu.spec, 1.114, 1.115 sources, 1.18, 1.19 qemu-fix-build-for-esd-audio.patch, 1.3, NONE qemu-prefer-sysfs-for-usb-host-devices.patch, 1.4, NONE qemu-slirp-Fix-guestfwd-for-incoming-data.patch, 1.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: berrange
Update of /cvs/pkgs/rpms/libvirt/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17868
Modified Files:
libvirt.spec
Log Message:
Create qemu/kvm user & group to fix upgrades
Index: libvirt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/libvirt.spec,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -p -r1.159 -r1.160
--- libvirt.spec 29 Jul 2009 14:58:18 -0000 1.159
+++ libvirt.spec 30 Jul 2009 11:07:16 -0000 1.160
@@ -78,7 +78,7 @@
Summary: Library providing a simple API virtualization
Name: libvirt
Version: 0.7.0
-Release: 0.6.gite195b43%{?dist}%{?extra_release}
+Release: 0.7.gite195b43%{?dist}%{?extra_release}
License: LGPLv2+
Group: Development/Libraries
Source: libvirt-0.7.0-0.6.gite195b43.tar.gz
@@ -419,6 +419,18 @@ chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}
%clean
rm -fr %{buildroot}
+%pre
+%if 0%{?fedora} >= 12
+# Normally 'setup' adds this in /etc/passwd, but this is
+# here for case of upgrades from earlier Fedora. This
+# UID/GID pair is reserved for qemu:qemu
+getent group kvm >/dev/null || groupadd -g 36 -r kvm
+getent group qemu >/dev/null || groupadd -g 107 -r qemu
+getent passwd qemu >/dev/null || \
+ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
+ -c "qemu user" qemu
+%endif
+
%post
%if %{with_libvirtd}
@@ -600,6 +612,9 @@ fi
%endif
%changelog
+* Thu Jul 30 2009 Daniel P. Berrange <berrange at redhat.com> - 0.7.0-0.7.gite195b43
+- Create qemu/kvm user & group to fix upgrades
+
* Wed Jul 29 2009 Daniel Veillard <veillard at redhat.com> - 0.7.0-0.6.gite195b43
- another prerelease with qemu, uml and remote patches
- drop the news patch as it's now UTF8 upstream
- Previous message (by thread): [fedora-virt-maint] rpms/libvirt-java/F-10 import.log, NONE, 1.1 .cvsignore, 1.3, 1.4 libvirt-java.spec, 1.3, 1.4 sources, 1.3, 1.4 libvirt-0.2.1-gcj-javadoc.patch, 1.2, NONE
- Next message (by thread): [fedora-virt-maint] rpms/qemu/devel qemu-fix-optionrom-install.patch, NONE, 1.1 qemu-bios-bigger-roms.patch, 1.8, 1.9 qemu-fix-linux-user-build-on-ppc.patch, 1.4, 1.5 qemu.spec, 1.114, 1.115 sources, 1.18, 1.19 qemu-fix-build-for-esd-audio.patch, 1.3, NONE qemu-prefer-sysfs-for-usb-host-devices.patch, 1.4, NONE qemu-slirp-Fix-guestfwd-for-incoming-data.patch, 1.3, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-virt-maint
mailing list