acrn-hypervisor: Autospec creation for update from version 2019w49.4.140000p to version 2019w50.5.140000p

This commit is contained in:
Miguel Bernal Marin 2019-12-16 11:55:27 -06:00
parent d6afddb0b2
commit 607c8df959
7 changed files with 18 additions and 54 deletions

View File

@ -1,5 +1,5 @@
PKG_NAME := acrn-hypervisor
URL = https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w49.4-140000p.tar.gz
URL = https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w50.5-140000p.tar.gz
ARCHIVES =
include ../common/Makefile.common

View File

@ -4,16 +4,15 @@
#
%define keepstatic 1
Name : acrn-hypervisor
Version : 2019w49.4.140000p
Release : 252
URL : https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w49.4-140000p.tar.gz
Source0 : https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w49.4-140000p.tar.gz
Version : 2019w50.5.140000p
Release : 253
URL : https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w50.5-140000p.tar.gz
Source0 : https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w50.5-140000p.tar.gz
Summary : No detailed summary available
Group : Development/Tools
License : BSD-3-Clause CC-BY-4.0 ISC
Requires: acrn-hypervisor-autostart = %{version}-%{release}
Requires: acrn-hypervisor-bin = %{version}-%{release}
Requires: acrn-hypervisor-config = %{version}-%{release}
Requires: acrn-hypervisor-data = %{version}-%{release}
Requires: acrn-hypervisor-license = %{version}-%{release}
Requires: acrn-hypervisor-services = %{version}-%{release}
@ -65,7 +64,6 @@ autostart components for the acrn-hypervisor package.
Summary: bin components for the acrn-hypervisor package.
Group: Binaries
Requires: acrn-hypervisor-data = %{version}-%{release}
Requires: acrn-hypervisor-config = %{version}-%{release}
Requires: acrn-hypervisor-license = %{version}-%{release}
Requires: acrn-hypervisor-services = %{version}-%{release}
@ -73,14 +71,6 @@ Requires: acrn-hypervisor-services = %{version}-%{release}
bin components for the acrn-hypervisor package.
%package config
Summary: config components for the acrn-hypervisor package.
Group: Default
%description config
config components for the acrn-hypervisor package.
%package data
Summary: data components for the acrn-hypervisor package.
Group: Data
@ -127,15 +117,15 @@ staticdev components for the acrn-hypervisor package.
%prep
%setup -q -n acrn-hypervisor-acrn-2019w49.4-140000p
cd %{_builddir}/acrn-hypervisor-acrn-2019w49.4-140000p
%setup -q -n acrn-hypervisor-acrn-2019w50.5-140000p
cd %{_builddir}/acrn-hypervisor-acrn-2019w50.5-140000p
%build
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.UTF-8
export SOURCE_DATE_EPOCH=1576007828
export SOURCE_DATE_EPOCH=1576518774
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$CFLAGS -fno-lto "
@ -145,14 +135,14 @@ make %{?_smp_mflags} all sbl-hypervisor BUILD_VERSION=”%{version}_%{release}
%install
export SOURCE_DATE_EPOCH=1576007828
export SOURCE_DATE_EPOCH=1576518774
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/acrn-hypervisor
cp %{_builddir}/acrn-hypervisor-acrn-2019w49.4-140000p/LICENSE %{buildroot}/usr/share/package-licenses/acrn-hypervisor/3cc9b5c24d3ab78578359aa1b98166ee5cf6df9b
cp %{_builddir}/acrn-hypervisor-acrn-2019w49.4-140000p/doc/LICENSE %{buildroot}/usr/share/package-licenses/acrn-hypervisor/50862f16be94cd4a0162ee82eb55697c5b54c70e
cp %{_builddir}/acrn-hypervisor-acrn-2019w49.4-140000p/misc/acrn-config/kconfig/LICENSE.kconfiglib %{buildroot}/usr/share/package-licenses/acrn-hypervisor/0256be14ad1f607cb4bd89d716442115dab0294c
cp %{_builddir}/acrn-hypervisor-acrn-2019w49.4-140000p/misc/acrn-config/library/hypervisor_license %{buildroot}/usr/share/package-licenses/acrn-hypervisor/e769dc34d30330fcb407f27559c817e502fdfb13
cp %{_builddir}/acrn-hypervisor-acrn-2019w49.4-140000p/misc/tools/acrn-crashlog/license_header %{buildroot}/usr/share/package-licenses/acrn-hypervisor/b63d865a65562d341e07541b47e5b542a3e2ca67
cp %{_builddir}/acrn-hypervisor-acrn-2019w50.5-140000p/LICENSE %{buildroot}/usr/share/package-licenses/acrn-hypervisor/3cc9b5c24d3ab78578359aa1b98166ee5cf6df9b
cp %{_builddir}/acrn-hypervisor-acrn-2019w50.5-140000p/doc/LICENSE %{buildroot}/usr/share/package-licenses/acrn-hypervisor/50862f16be94cd4a0162ee82eb55697c5b54c70e
cp %{_builddir}/acrn-hypervisor-acrn-2019w50.5-140000p/misc/acrn-config/kconfig/LICENSE.kconfiglib %{buildroot}/usr/share/package-licenses/acrn-hypervisor/0256be14ad1f607cb4bd89d716442115dab0294c
cp %{_builddir}/acrn-hypervisor-acrn-2019w50.5-140000p/misc/acrn-config/library/hypervisor_license %{buildroot}/usr/share/package-licenses/acrn-hypervisor/e769dc34d30330fcb407f27559c817e502fdfb13
cp %{_builddir}/acrn-hypervisor-acrn-2019w50.5-140000p/misc/tools/acrn-crashlog/license_header %{buildroot}/usr/share/package-licenses/acrn-hypervisor/b63d865a65562d341e07541b47e5b542a3e2ca67
%make_install sbl-hypervisor-install hypervisor-install-debug sbl-hypervisor-install-debug
## install_append content
mkdir -p %{buildroot}/usr/lib/systemd/system/multi-user.target.wants
@ -202,20 +192,7 @@ ln -s ../../samples/apl-mrb/launch_uos.sh %{buildroot}/usr/share/acrn/conf/add/v
%files bin
%defattr(-,root,root,-)
/usr/bin/acrn-dm
/usr/bin/acrnctl
/usr/bin/acrnd
/usr/bin/acrnlog
/usr/bin/acrnprobe
/usr/bin/acrntrace
/usr/bin/crashlogctl
/usr/bin/debugger
/usr/bin/usercrash-wrapper
/usr/bin/usercrash_c
/usr/bin/usercrash_s
%files config
%defattr(-,root,root,-)
/usr/lib/tmpfiles.d/acrn-crashlog-dirs.conf
%files data
%defattr(-,root,root,-)
@ -231,8 +208,6 @@ ln -s ../../samples/apl-mrb/launch_uos.sh %{buildroot}/usr/share/acrn/conf/add/v
/usr/share/acrn/bios/changelog_vsbl.txt
/usr/share/acrn/conf/add/vm1.args
/usr/share/acrn/conf/add/vm1.sh
/usr/share/acrn/crashlog/40-watchdog.conf
/usr/share/acrn/crashlog/80-coredump.conf
/usr/share/acrn/samples/apl-mrb/acrn_guest.service
/usr/share/acrn/samples/apl-mrb/launch_uos.args
/usr/share/acrn/samples/apl-mrb/launch_uos.sh
@ -246,7 +221,6 @@ ln -s ../../samples/apl-mrb/launch_uos.sh %{buildroot}/usr/share/acrn/conf/add/v
/usr/share/acrn/samples/nuc/launch_zephyr.sh
/usr/share/acrn/samples/nuc/runC.json
/usr/share/clr-service-restart/acrnd.service
/usr/share/defaults/telemetrics/acrnprobe.xml
%files dev
%defattr(-,root,root,-)
@ -272,9 +246,6 @@ ln -s ../../samples/apl-mrb/launch_uos.sh %{buildroot}/usr/share/acrn/conf/add/v
%exclude /usr/lib/systemd/system/multi-user.target.wants/acrnd.service
/usr/lib/systemd/system/acrn_guest.service
/usr/lib/systemd/system/acrnd.service
/usr/lib/systemd/system/acrnlog.service
/usr/lib/systemd/system/acrnprobe.service
/usr/lib/systemd/system/usercrash.service
%files staticdev
%defattr(-,root,root,-)

View File

@ -1,6 +1,6 @@
[package]
name = acrn-hypervisor
url = https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w49.4-140000p.tar.gz
url = https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w50.5-140000p.tar.gz
archives =
giturl = https://github.com/projectacrn/acrn-hypervisor.git
domain =

View File

@ -1 +1 @@
252
253

View File

@ -1 +1 @@
0d10ce2abdda10b25aca444b91f235f328657bc7/acrn-2019w49.4-140000p.tar.gz
06e5ca7ed6462e78cdfbf2295c52dad9559edfad/acrn-2019w50.5-140000p.tar.gz

View File

@ -1,14 +1,7 @@
libblkid.so.1
libc.so.6
libcom_err.so.2
libcrypto.so.1.1
libevent-2.1.so.6
libext2fs.so.2
libpciaccess.so.0
libpthread.so.0
librt.so.1
libsystemd.so.0
libtelemetry.so.4
libusb-1.0.so.0
libuuid.so.1
libxml2.so.2

View File

@ -1 +1 @@
2019w49.4.140000p
2019w50.5.140000p