acrn-hypervisor: Autospec creation for version 2018w35.3.140000p

This commit is contained in:
Miguel Bernal Marin 2018-08-29 12:18:52 -05:00
parent a0b1c84fb5
commit e10e118ae3
3 changed files with 9 additions and 4 deletions

View File

@ -5,7 +5,7 @@
%define keepstatic 1
Name : acrn-hypervisor
Version : 2018w35.3.140000p
Release : 77
Release : 78
URL : https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2018w35.3-140000p.tar.gz
Source0 : https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2018w35.3-140000p.tar.gz
Summary : No detailed summary available
@ -106,11 +106,11 @@ export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1535534593
export SOURCE_DATE_EPOCH=1535563130
make %{?_smp_mflags} all sbl-hypervisor BUILD_VERSION=”%{version}_%{release}” BUILD_TAG=”%{version}”
%install
export SOURCE_DATE_EPOCH=1535534593
export SOURCE_DATE_EPOCH=1535563130
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/doc/acrn-hypervisor
cp LICENSE %{buildroot}/usr/share/doc/acrn-hypervisor/LICENSE
@ -123,6 +123,7 @@ mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
ln -s ../usercrash.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/usercrash.service
ln -s ../prepare.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/prepare.service
ln -s ../acrnprobe.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/acrnprobe.service
ln -s ../acrn_guest.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/acrn_guest.service
mkdir -p %{buildroot}/usr/share/clr-service-restart
ln -sf /usr/lib/systemd/system/usercrash.service %{buildroot}/usr/share/clr-service-restart/usercrash.service
ln -sf /usr/lib/systemd/system/prepare.service %{buildroot}/usr/share/clr-service-restart/prepare.service
@ -136,6 +137,7 @@ ln -sf /usr/lib/systemd/system/acrnprobe.service %{buildroot}/usr/share/clr-serv
%files autostart
%defattr(-,root,root,-)
/usr/lib/systemd/system/multi-user.target.wants/acrn_guest.service
/usr/lib/systemd/system/multi-user.target.wants/acrnprobe.service
/usr/lib/systemd/system/multi-user.target.wants/prepare.service
/usr/lib/systemd/system/multi-user.target.wants/usercrash.service
@ -156,6 +158,7 @@ ln -sf /usr/lib/systemd/system/acrnprobe.service %{buildroot}/usr/share/clr-serv
%files config
%defattr(-,root,root,-)
%exclude /usr/lib/systemd/system/acrnprobe.service
%exclude /usr/lib/systemd/system/multi-user.target.wants/acrn_guest.service
%exclude /usr/lib/systemd/system/multi-user.target.wants/acrnprobe.service
%exclude /usr/lib/systemd/system/multi-user.target.wants/prepare.service
%exclude /usr/lib/systemd/system/multi-user.target.wants/usercrash.service

View File

@ -21,6 +21,8 @@ broken_parallel_build = false
compat = false
# set conservative build flags
conservative_flags = false
# dev package requires the extras to be installed
dev_requires_extras = false
# pass -ffast-math to compiler
fast-math = false
# optimize build for speed over size

View File

@ -1 +1 @@
77
78