|
|
|
@ -1,88 +1,57 @@
|
|
|
|
|
Name: rteval-loads
|
|
|
|
|
Version: 1.4
|
|
|
|
|
Release: 13%{?dist}
|
|
|
|
|
Version: 1.6
|
|
|
|
|
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.18.1.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
|
|
|
|
|
* Fri Jun 03 2022 John Kacur <jkacur@redhat.com> - 1.6-2
|
|
|
|
|
- Upgrade run_tests.sh with the new kernel version
|
|
|
|
|
Resolves: rhbz#2093059
|
|
|
|
|
|
|
|
|
|
* Fri Jun 03 2022 John Kacur <jkacur@redhat.com> - 1.6-1
|
|
|
|
|
- Upgrade the kernel to linux-5.18.1.tar.xz
|
|
|
|
|
Resolves: rhbz#2093059
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|