integ/security/spectre-meltdown-checker/centos/spectre-meltdown-checker.spec
Abraham Arce 921fc22a82 spectre-meltdown-checker: package format
Current stx-tools infrastructure allows the download of tar compressed files
having different names, directory output and version including commits, see a
more detailed description here:
https://review.openstack.org/#/c/577953/

All our compressed tar files are in gz format and this change makes our life easier
avoiding us to add the check of bz2 format.

Change-Id: Ic909dc7fc813956caf3f5cf4a6873b018967f42b
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-07-03 23:58:57 -07:00

36 lines
670 B
RPMSpec

Name: spectre-meltdown-checker
Version: 0.37+
Release: %{tis_patch_ver}%{?_tis_dist}
Summary: Checker script for spectre/meltdown
Group: base
License: GPLv3
URL: https://github.com/speed47/spectre-meltdown-checker.git
Source0: spectre-meltdown-checker-0.37+-5cc77741.tar.gz
BuildArch: noarch
Requires: bash
%description
Script to check whether kernel is susceptible to spectre/meltdown vulnerabilities.
%prep
tar xf %{SOURCE0}
%build
%install
install -d -m 755 %{buildroot}/usr/sbin/
install -m 744 spectre-meltdown-checker/spectre-meltdown-checker.sh %{buildroot}/usr/sbin/spectre-meltdown-checker.sh
%files
%license %{name}/LICENSE
/usr/sbin/*
%changelog