From e89fdaf7fd59524170bb7c9ba082f3ded762e4b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 11 Feb 2008 17:17:09 +0000 Subject: [PATCH] - use rpmbuild macros that require files to be stripped/chrpathed are executable Changed files: qemu.spec -> 1.105 --- qemu.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qemu.spec b/qemu.spec index 4ef046b..1cc8dd5 100644 --- a/qemu.spec +++ b/qemu.spec @@ -70,7 +70,7 @@ Patch16: %{pname}-piix-ram-size.patch URL: http://fabrice.bellard.free.fr/qemu/ %if %{with kernel} && %{with dist_kernel} BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7 -BuildRequires: rpmbuild(macros) >= 1.379 +BuildRequires: rpmbuild(macros) >= 1.431 %endif %if %{with userspace} BuildRequires: SDL-devel >= 1.2.1 @@ -86,9 +86,6 @@ Requires: SDL >= 1.2.1 ExclusiveArch: %{ix86} %{x8664} %{?with_userspace:ppc} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -# some SPARC boot image in ELF format -%define _noautostrip .*%{_datadir}/qemu/openbios-sparc32 - %description QEMU is a FAST! processor emulator. By using dynamic translation it achieves a reasonnable speed while being easy to port on new host @@ -261,6 +258,9 @@ install modprobe.conf $RPM_BUILD_ROOT/etc/modprobe.d/%{_kernel_ver}/kqemu.conf install udev.conf $RPM_BUILD_ROOT/etc/udev/rules.d/kqemu.rules %endif +# some SPARC boot image in ELF format +chmod a-x $RPM_BUILD_ROOT%{_datadir}/qemu/openbios-sparc32 + # already packaged rm -rf $RPM_BUILD_ROOT%{_docdir}/qemu/qemu-{doc,tech}.html -- 2.43.0