fleet/server/vulnerabilities/nvd/tools/nvdtools.spec
Jacob Shandling d7821685a8
Migrate logic from nvdtools into Fleet (#18244)
## Addresses #15999

- [x] Added/updated tests
- [ ] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-04-24 15:25:59 -07:00

28 lines
654 B
RPMSpec

# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
Name: nvdtools
Summary: A collection of tools for working with National Vulnerability Database feeds.
Version: %{_version}
Release: 1
License: Apache License 2.0
URL: https://github.com/facebookincubator/nvdtools
Source0: %{name}-%{version}.tar.gz
%description
A set of tools to work with the feeds (vulnerabilities, CPE dictionary etc.) distributed by National Vulnerability Database (NVD).
%prep
%setup -q
%build
make GOFLAGS="-ldflags=-linkmode=external"
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%license LICENSE
%{_bindir}/*
/usr/share/doc/nvdtools
%changelog