Accepting request 176522 from home:a_faerber:branches:Virtualization
Use %_smp_mflags and enable brlapi (adopted from kvm package) OBS-URL: https://build.opensuse.org/request/show/176522 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=140
This commit is contained in:
parent
2fcc371d31
commit
bb2fc3ecbb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 24 12:33:23 UTC 2013 - afaerber@suse.de
|
||||||
|
|
||||||
|
- Use %{?_smp_mflags} rather than %{?jobs:-j%jobs}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 21 21:13:25 UTC 2013 - afaerber@suse.de
|
Tue May 21 21:13:25 UTC 2013 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ run cross-architecture builds.
|
|||||||
# -lrt needs to come after -lglib-2.0 to avoid undefined clock_gettime
|
# -lrt needs to come after -lglib-2.0 to avoid undefined clock_gettime
|
||||||
sed -i "s/-lglib-2.0/-lglib-2.0 -lrt/" config-host.mak
|
sed -i "s/-lglib-2.0/-lglib-2.0 -lrt/" config-host.mak
|
||||||
%endif
|
%endif
|
||||||
make %{?jobs:-j%jobs} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
@ -108,7 +108,7 @@ PATCH_EXEC
|
|||||||
# -lrt needs to come after -lglib-2.0 to avoid undefined clock_gettime
|
# -lrt needs to come after -lglib-2.0 to avoid undefined clock_gettime
|
||||||
sed -i "s/-lglib-2.0/-lglib-2.0 -lrt/" config-host.mak
|
sed -i "s/-lglib-2.0/-lglib-2.0 -lrt/" config-host.mak
|
||||||
%endif
|
%endif
|
||||||
make %{?jobs:-j%jobs} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
10
qemu.changes
10
qemu.changes
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 24 14:31:59 UTC 2013 - afaerber@suse.de
|
||||||
|
|
||||||
|
- Enable brlapi as done for kvm package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 24 12:33:23 UTC 2013 - afaerber@suse.de
|
||||||
|
|
||||||
|
- Use %{?_smp_mflags} rather than %{?jobs:-j%jobs}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 23 15:08:42 UTC 2013 - afaerber@suse.de
|
Thu May 23 15:08:42 UTC 2013 - afaerber@suse.de
|
||||||
|
|
||||||
|
@ -71,6 +71,9 @@ BuildRequires: SDL-devel
|
|||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: bluez-devel
|
BuildRequires: bluez-devel
|
||||||
|
%if 0%{?suse_version} >= 1130
|
||||||
|
BuildRequires: brlapi-devel
|
||||||
|
%endif
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
BuildRequires: cyrus-sasl-devel
|
BuildRequires: cyrus-sasl-devel
|
||||||
BuildRequires: e2fsprogs-devel
|
BuildRequires: e2fsprogs-devel
|
||||||
@ -220,6 +223,9 @@ This sub-package contains the guest agent.
|
|||||||
--enable-curl \
|
--enable-curl \
|
||||||
--enable-virtfs \
|
--enable-virtfs \
|
||||||
--extra-cflags="$QEMU_OPT_FLAGS" --enable-system --disable-linux-user \
|
--extra-cflags="$QEMU_OPT_FLAGS" --enable-system --disable-linux-user \
|
||||||
|
%if 0%{?suse_version} >= 1130
|
||||||
|
--enable-brlapi \
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
--enable-gtk \
|
--enable-gtk \
|
||||||
%endif
|
%endif
|
||||||
@ -232,7 +238,7 @@ This sub-package contains the guest agent.
|
|||||||
%else
|
%else
|
||||||
--disable-spice
|
--disable-spice
|
||||||
%endif
|
%endif
|
||||||
make %{?jobs:-j%jobs} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
@ -34,6 +34,9 @@ BuildRequires: SDL-devel
|
|||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: bluez-devel
|
BuildRequires: bluez-devel
|
||||||
|
%if 0%{?suse_version} >= 1130
|
||||||
|
BuildRequires: brlapi-devel
|
||||||
|
%endif
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
BuildRequires: cyrus-sasl-devel
|
BuildRequires: cyrus-sasl-devel
|
||||||
BuildRequires: e2fsprogs-devel
|
BuildRequires: e2fsprogs-devel
|
||||||
@ -146,6 +149,9 @@ PATCH_EXEC
|
|||||||
--enable-curl \
|
--enable-curl \
|
||||||
--enable-virtfs \
|
--enable-virtfs \
|
||||||
--extra-cflags="$QEMU_OPT_FLAGS" --enable-system --disable-linux-user \
|
--extra-cflags="$QEMU_OPT_FLAGS" --enable-system --disable-linux-user \
|
||||||
|
%if 0%{?suse_version} >= 1130
|
||||||
|
--enable-brlapi \
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
--enable-gtk \
|
--enable-gtk \
|
||||||
%endif
|
%endif
|
||||||
@ -158,7 +164,7 @@ PATCH_EXEC
|
|||||||
%else
|
%else
|
||||||
--disable-spice
|
--disable-spice
|
||||||
%endif
|
%endif
|
||||||
make %{?jobs:-j%jobs} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
Loading…
Reference in New Issue
Block a user