File clamav-database.spec of Package clamav-database.7527
# spec file for package clamav-database
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
%define _dbdir /var/lib/clamav
Summary: Offline availability for clamav database
Open Build Service package build environments do not have network access
and need to have a recent version of the clamav database stored offline.
This package just wraps up /var/lib/clamav into an RPM package.
%setup -n db -c db
cp -al var $RPM_BUILD_ROOT