import rteval-loads-1.5-2.el8

This commit is contained in:
CentOS Sources 2022-03-29 16:26:15 -04:00 committed by Stepan Oksanichenko
parent c31b07cdde
commit 1a26df4430
3 changed files with 21 additions and 62 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/linux-5.7.tar.xz
SOURCES/stress-ng-0.12.06.tar.xz
SOURCES/linux-5.13.2.tar.xz

View File

@ -1,2 +1 @@
07e40057b78f1c9dd2b042056325d99fcf9f8a08 SOURCES/linux-5.7.tar.xz
0437f8abe3edb10b44e2205ad1e9c0187c6e7860 SOURCES/stress-ng-0.12.06.tar.xz
cde5fb0ee29e9b12494b6cd09c6c8576e3f1c66b SOURCES/linux-5.13.2.tar.xz

View File

@ -1,88 +1,49 @@
Name: rteval-loads
Version: 1.4
Release: 13%{?dist}
Version: 1.5
Release: 2%{?dist}
Summary: Source files for rteval loads
Group: Development/Tools
License: GPLv2
URL: https://git.kernel.org/pub/scm/utils/rteval/rteval.git
Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.7.tar.xz
Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.13.2.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%package -n stress-ng
Version: 0.12.06
Release: 2%{?dist}
Summary: Stress test a computer system in various ways
Source1: https://kernel.ubuntu.com/~cking/tarballs/stress-ng/stress-ng-%{version}.tar.xz
BuildRequires: make
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: kernel-headers
BuildRequires: keyutils-libs-devel
BuildRequires: libaio-devel
BuildRequires: libattr-devel
BuildRequires: libcap-devel
BuildRequires: libgcrypt-devel
BuildRequires: lksctp-tools-devel
BuildRequires: libatomic
BuildRequires: zlib-devel
#Patches
BuildArch: noarch
%description
This package provides source code for system loads used by the rteval package
%description -n stress-ng
Stress test a computer system in various ways. It was designed to exercise
various physical subsystems of a computer as well as the various operating
system kernel interfaces.
%prep
%setup -q -b1 -n stress-ng-%{version}
%build -n stress-ng
export CFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"
make
%build
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/usr/share/rteval/loadsource
install -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/usr/share/rteval/loadsource
# stress-ng
install -p -m 755 -D stress-ng %{buildroot}%{_bindir}/stress-ng
install -p -m 644 -D stress-ng.1 %{buildroot}%{_mandir}/man1/stress-ng.1
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
install -pm 644 bash-completion/stress-ng \
%{buildroot}%{_datadir}/bash-completion/completions/stress-ng
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root,-)
%dir %{_datadir}/rteval/loadsource
%{_datadir}/rteval/loadsource/*
%doc
%files -n stress-ng
%license COPYING
%doc README
%{_bindir}/stress-ng
%{_mandir}/man1/stress-ng.1.gz
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/stress-ng
%changelog
* Wed Apr 28 2021 John Kacur <jkacur@redhat.com> - 1.14-13
* Wed Jan 19 2022 John Kacur <jkacur@redhat.com> - 1.5-2
- Fix the gating test to match the kernel version delivered by rteval-loads
Resolves: rhbz#2042213
* Thu Jan 13 2022 John Kacur <jkacur@redhat.com> - 1.5-1
- Update to kernel
Resolves: rhbz#2017513
* Tue Oct 26 2021 John Kacur <jkacur@redhat.com> - 1.4-14
- Remove stress-ng from rteval-loads
Resolves:rhbz#2007027
* Wed Apr 28 2021 John Kacur <jkacur@redhat.com> - 1.4-13
- Rebuild rteval-build with a fixed binutils in brew
- Bump the release number of stress-ng as well
Resolves: rhbz#1954451
* Mon Apr 12 2021 John Kacur <jkacur@redhat.com> - 1.14-12
* Mon Apr 12 2021 John Kacur <jkacur@redhat.com> - 1.4-12
- Update stress-ng to 0.12.06 upstream
Resolves: rhbz#1947648