]> git.pld-linux.org Git - packages/qemu.git/commitdiff
- use rpmbuild macros that require files to be stripped/chrpathed are executable
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 11 Feb 2008 17:17:09 +0000 (17:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qemu.spec -> 1.105

qemu.spec

index 4ef046bcb6aefdc95a934b75c89cfacd469506c8..1cc8dd51991f831cdce9744cfc628fb1630c4eb6 100644 (file)
--- 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
 
This page took 0.090532 seconds and 4 git commands to generate.