File post-build-checks-malwarescan.spec of Package post-build-checks-malwarescan.18773
#
# spec file for package post-build-checks-malwarescan
#
# Copyright (c) 2016 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/
#
Name: post-build-checks-malwarescan
BuildArch: noarch
Requires: clamav-database
Url: http://www.suse.com/security
Recommends: clamav
Version: 0.1
Release: 0
Summary: OBS clamav virus scan build hook and script
License: GPL-2.0
Group: Development/Tools/Building
Source0: 80-check-malware-scan-clamav
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The /usr/lib/build/checks/80-check-malware-scan-clamav runs
clamscan --no-summary -ir $RPM_BUILD_DIR
%prep
%build
%install
pwd
mkdir -p $RPM_BUILD_ROOT/usr/lib/build/checks
install -m 0755 %{SOURCE0} $RPM_BUILD_ROOT/usr/lib/build/checks
%files
%attr(0755,root,root) /usr/lib/build/checks/80-check-malware-scan-clamav
%changelog