Blame aer-inject.spec

Bernhard M. Wiedemann 33108b
#
Bernhard M. Wiedemann 33108b
# spec file for package aer-inject
Bernhard M. Wiedemann 33108b
#
Bernhard M. Wiedemann 33108b
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
Bernhard M. Wiedemann 33108b
#
Bernhard M. Wiedemann 33108b
# All modifications and additions to the file contributed by third parties
Bernhard M. Wiedemann 33108b
# remain the property of their copyright owners, unless otherwise agreed
Bernhard M. Wiedemann 33108b
# upon. The license for this file, and modifications and additions to the
Bernhard M. Wiedemann 33108b
# file, is the same license as for the pristine package itself (unless the
Bernhard M. Wiedemann 33108b
# license for the pristine package is not an Open Source License, in which
Bernhard M. Wiedemann 33108b
# case the license is the MIT License). An "Open Source License" is a
Bernhard M. Wiedemann 33108b
# license that conforms to the Open Source Definition (Version 1.9)
Bernhard M. Wiedemann 33108b
# published by the Open Source Initiative.
Bernhard M. Wiedemann 33108b
Bernhard M. Wiedemann 33108b
# Please submit bugfixes or comments via http://bugs.opensuse.org/
Bernhard M. Wiedemann 33108b
#
Bernhard M. Wiedemann 33108b
Bernhard M. Wiedemann 33108b
Bernhard M. Wiedemann 33108b
Name:           aer-inject
Bernhard M. Wiedemann 33108b
Version:        0.2
Bernhard M. Wiedemann 33108b
Release:        0
Bernhard M. Wiedemann 33108b
Summary:        Inject PCIE AER errors into a running kernel
Bernhard M. Wiedemann 33108b
License:        GPL-2.0
Bernhard M. Wiedemann 33108b
Group:          Development/Hardware
Bernhard M. Wiedemann 33108b
Url:            https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git
Bernhard M. Wiedemann 33108b
Source:         %{name}-%{version}.tar.xz
Bernhard M. Wiedemann 33108b
BuildRequires:  bison
Bernhard M. Wiedemann 33108b
BuildRequires:  flex
Bernhard M. Wiedemann 33108b
BuildRequires:  gcc
Bernhard M. Wiedemann 33108b
BuildRequires:  make
Bernhard M. Wiedemann 33108b
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Bernhard M. Wiedemann 33108b
Bernhard M. Wiedemann 33108b
%description
Bernhard M. Wiedemann 33108b
aer-inject allows to inject PCIE AER errors on the software level into
Bernhard M. Wiedemann 33108b
a running Linux kernel. This is intended for validation of the PCIE
Bernhard M. Wiedemann 33108b
driver error recovery handler and PCIE AER core handler.
Bernhard M. Wiedemann 33108b
Bernhard M. Wiedemann 33108b
%prep
Bernhard M. Wiedemann 33108b
%setup -q
Bernhard M. Wiedemann 33108b
Bernhard M. Wiedemann 33108b
%build
Bernhard M. Wiedemann 33108b
make %{?_smp_mflags}
Bernhard M. Wiedemann 33108b
Bernhard M. Wiedemann 33108b
%install
Bernhard M. Wiedemann 33108b
make DESTDIR=%{buildroot} PREFIX=/usr/sbin install %{?_smp_mflags}
Bernhard M. Wiedemann 33108b
Bernhard M. Wiedemann 33108b
%files
Bernhard M. Wiedemann 33108b
%defattr(-,root,root)
Bernhard M. Wiedemann 33108b
%{_sbindir}/aer-inject
Bernhard M. Wiedemann 33108b
%doc SPEC README examples
Bernhard M. Wiedemann 33108b
Bernhard M. Wiedemann 33108b
%changelog