This commit is contained in:
parent
590bca30ff
commit
8b91938980
@ -26,8 +26,11 @@ Group: System/Monitoring
|
||||
Url: http://kernel.ubuntu.com/~cking/stress-ng/
|
||||
Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: keyutils-devel
|
||||
BuildRequires: libaio-devel
|
||||
BuildRequires: libattr-devel
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -46,7 +49,8 @@ export CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
install -D -p -m 0755 stress-ng %{buildroot}%{_bindir}/stress-ng
|
||||
install -D -p -m 0644 stress-ng.1 %{buildroot}%{_mandir}/man1/stress-ng.1
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user