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}