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:
parent
fa372379e4
commit
37424ca48f
5
qemu
5
qemu
@ -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
|
|
@ -1,4 +1,4 @@
|
|||||||
# This line is mandatory to access the configuration functions
|
# This line is mandatory to access the configuration functions
|
||||||
from Config import *
|
from Config import *
|
||||||
|
|
||||||
setBadness('permissions-unauthorized-file', 0)
|
setBadness('permissions-file-setuid-bit', 0)
|
||||||
|
@ -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
|
Wed Jun 13 08:19:01 UTC 2012 - agraf@suse.com
|
||||||
|
|
||||||
|
@ -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
|
|
@ -51,8 +51,6 @@ Patch0023: 0023-linux-user-Ignore-broken-loop-ioctl.patch
|
|||||||
Source300: rpmlintrc
|
Source300: rpmlintrc
|
||||||
Source301: qemu-tools-rpmlintrc
|
Source301: qemu-tools-rpmlintrc
|
||||||
Source302: bridge.conf
|
Source302: bridge.conf
|
||||||
Source303: qemu
|
|
||||||
Source304: qemu.paranoid
|
|
||||||
Source400: update_git.sh
|
Source400: update_git.sh
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: SDL-devel
|
BuildRequires: SDL-devel
|
||||||
@ -111,7 +109,7 @@ as PC and PowerMac systems.
|
|||||||
Summary: Universal CPU emulator -- Tools
|
Summary: Universal CPU emulator -- Tools
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
Provides: qemu:%_libexecdir/qemu-bridge-helper
|
Provides: qemu:%_libexecdir/qemu-bridge-helper
|
||||||
Requires: permissions
|
PreReq: permissions
|
||||||
|
|
||||||
%description tools
|
%description tools
|
||||||
QEMU is an extremely well-performing CPU emulator that allows you to
|
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 -d -m 755 $RPM_BUILD_ROOT/%_libexecdir
|
||||||
install -m 755 dynamic/qemu-bridge-helper $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 %{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
|
%ifnarch %ix86 x86_64
|
||||||
ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
|
ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
|
||||||
%endif
|
%endif
|
||||||
@ -256,8 +252,6 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%_bindir/qemu-io
|
%_bindir/qemu-io
|
||||||
%verify(not mode) %attr(4755, root, root) %_libexecdir/qemu-bridge-helper
|
%verify(not mode) %attr(4755, root, root) %_libexecdir/qemu-bridge-helper
|
||||||
%config %_sysconfdir/%name/bridge.conf
|
%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
|
%files linux-user
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
@ -29,8 +29,6 @@ PATCH_FILES
|
|||||||
Source300: rpmlintrc
|
Source300: rpmlintrc
|
||||||
Source301: qemu-tools-rpmlintrc
|
Source301: qemu-tools-rpmlintrc
|
||||||
Source302: bridge.conf
|
Source302: bridge.conf
|
||||||
Source303: qemu
|
|
||||||
Source304: qemu.paranoid
|
|
||||||
Source400: update_git.sh
|
Source400: update_git.sh
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: SDL-devel
|
BuildRequires: SDL-devel
|
||||||
@ -89,7 +87,7 @@ as PC and PowerMac systems.
|
|||||||
Summary: Universal CPU emulator -- Tools
|
Summary: Universal CPU emulator -- Tools
|
||||||
Group: System/Emulators/PC
|
Group: System/Emulators/PC
|
||||||
Provides: qemu:%_libexecdir/qemu-bridge-helper
|
Provides: qemu:%_libexecdir/qemu-bridge-helper
|
||||||
Requires: permissions
|
PreReq: permissions
|
||||||
|
|
||||||
%description tools
|
%description tools
|
||||||
QEMU is an extremely well-performing CPU emulator that allows you to
|
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 -d -m 755 $RPM_BUILD_ROOT/%_libexecdir
|
||||||
install -m 755 dynamic/qemu-bridge-helper $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 %{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
|
%ifnarch %ix86 x86_64
|
||||||
ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
|
ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386
|
||||||
%endif
|
%endif
|
||||||
@ -212,8 +208,6 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%_bindir/qemu-io
|
%_bindir/qemu-io
|
||||||
%verify(not mode) %attr(4755, root, root) %_libexecdir/qemu-bridge-helper
|
%verify(not mode) %attr(4755, root, root) %_libexecdir/qemu-bridge-helper
|
||||||
%config %_sysconfdir/%name/bridge.conf
|
%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
|
%files linux-user
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user