Accepting request 124886 from home:a_faerber:branches:Virtualization

Drop permissions.d files (SR by Bruce)

OBS-URL: https://build.opensuse.org/request/show/124886
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=81
This commit is contained in:
Andreas Färber 2012-06-13 22:00:33 +00:00 committed by Git OBS Bridge
parent e183bcf44d
commit 4d97a43359
6 changed files with 8 additions and 25 deletions

5
qemu
View File

@ -1,5 +0,0 @@
# /etc/permissions.d/qemu
# qemu / kvm (bnc#765948)
/usr/lib/qemu-bridge-helper root:root 4755
/usr/lib64/qemu-bridge-helper root:root 4755

View File

@ -1,4 +1,4 @@
# This line is mandatory to access the configuration functions
from Config import *
setBadness('permissions-unauthorized-file', 0)
setBadness('permissions-file-setuid-bit', 0)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 13 13:44:28 UTC 2012 - brogers@suse.com
- don't use permissions.d
-------------------------------------------------------------------
Wed Jun 13 08:19:01 UTC 2012 - agraf@suse.com

View File

@ -1,5 +0,0 @@
# /etc/permissions.d/qemu.paranoid
# qemu / kvm (bnc#765948)
/usr/lib/qemu-bridge-helper root:root 0755
/usr/lib64/qemu-bridge-helper root:root 0755

View File

@ -51,8 +51,6 @@ Patch0023: 0023-linux-user-Ignore-broken-loop-ioctl.patch
Source300: rpmlintrc
Source301: qemu-tools-rpmlintrc
Source302: bridge.conf
Source303: qemu
Source304: qemu.paranoid
Source400: update_git.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: SDL-devel
@ -111,7 +109,7 @@ as PC and PowerMac systems.
Summary: Universal CPU emulator -- Tools
Group: System/Emulators/PC
Provides: qemu:%_libexecdir/qemu-bridge-helper
Requires: permissions
PreReq: permissions
%description tools
QEMU is an extremely well-performing CPU emulator that allows you to
@ -211,8 +209,6 @@ install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir
install -d -m 755 $RPM_BUILD_ROOT/%_libexecdir
install -m 755 dynamic/qemu-bridge-helper $RPM_BUILD_ROOT/%_libexecdir
install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf
install -D -m 644 %{SOURCE303} %{buildroot}%{_sysconfdir}/permissions.d/qemu
install -D -m 644 %{SOURCE304} %{buildroot}%{_sysconfdir}/permissions.d/qemu.paranoid
%ifnarch %ix86 x86_64
ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
%endif
@ -256,8 +252,6 @@ rm -rf ${RPM_BUILD_ROOT}
%_bindir/qemu-io
%verify(not mode) %attr(4755, root, root) %_libexecdir/qemu-bridge-helper
%config %_sysconfdir/%name/bridge.conf
%config %attr(644,root,root) %_sysconfdir/permissions.d/qemu
%config %attr(644,root,root) %_sysconfdir/permissions.d/qemu.paranoid
%files linux-user
%defattr(-, root, root)

View File

@ -29,8 +29,6 @@ PATCH_FILES
Source300: rpmlintrc
Source301: qemu-tools-rpmlintrc
Source302: bridge.conf
Source303: qemu
Source304: qemu.paranoid
Source400: update_git.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: SDL-devel
@ -89,7 +87,7 @@ as PC and PowerMac systems.
Summary: Universal CPU emulator -- Tools
Group: System/Emulators/PC
Provides: qemu:%_libexecdir/qemu-bridge-helper
Requires: permissions
PreReq: permissions
%description tools
QEMU is an extremely well-performing CPU emulator that allows you to
@ -167,8 +165,6 @@ install -m 755 scripts/qemu-binfmt-conf.sh $RPM_BUILD_ROOT/%_sbindir
install -d -m 755 $RPM_BUILD_ROOT/%_libexecdir
install -m 755 dynamic/qemu-bridge-helper $RPM_BUILD_ROOT/%_libexecdir
install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf
install -D -m 644 %{SOURCE303} %{buildroot}%{_sysconfdir}/permissions.d/qemu
install -D -m 644 %{SOURCE304} %{buildroot}%{_sysconfdir}/permissions.d/qemu.paranoid
%ifnarch %ix86 x86_64
ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
%endif
@ -212,8 +208,6 @@ rm -rf ${RPM_BUILD_ROOT}
%_bindir/qemu-io
%verify(not mode) %attr(4755, root, root) %_libexecdir/qemu-bridge-helper
%config %_sysconfdir/%name/bridge.conf
%config %attr(644,root,root) %_sysconfdir/permissions.d/qemu
%config %attr(644,root,root) %_sysconfdir/permissions.d/qemu.paranoid
%files linux-user
%defattr(-, root, root)