From 987bac248d909401a33d3209388e4b07a4c3178f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 7 Aug 2014 14:20:26 +0200 Subject: [PATCH] Fix virtualbox-extension-pack install from SRPM --- .../virtualbox-extension-pack/virtualbox-extension-pack.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SRPMS/virtualbox-extension-pack/virtualbox-extension-pack.spec.in b/SRPMS/virtualbox-extension-pack/virtualbox-extension-pack.spec.in index f771c8f..b86d4f9 100644 --- a/SRPMS/virtualbox-extension-pack/virtualbox-extension-pack.spec.in +++ b/SRPMS/virtualbox-extension-pack/virtualbox-extension-pack.spec.in @@ -22,6 +22,7 @@ VirtualBox Extension Pack. %setup -c -n %{name}-%{version} -T [ -r /etc/sysconfig/@sysconfigfile@ ] || exit 1 +declare -A SRPMVERSION SRPMRELEASE . /etc/sysconfig/@sysconfigfile@ [ "${VIRTUALBOX_EXTENSION_PACK_PCK}" ] || exit 1 @@ -36,6 +37,7 @@ wget -nv --timeout=10 --tries=2 \ %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} +declare -A SRPMVERSION SRPMRELEASE . /etc/sysconfig/@sysconfigfile@ install -D -m0644 ${VIRTUALBOX_EXTENSION_PACK_PCK} %{buildroot}/opt/VirtualBox/extension/${VIRTUALBOX_EXTENSION_PACK_PCK}