forked from pool/stress-ng
This commit is contained in:
parent
590bca30ff
commit
8b91938980
@ -26,8 +26,11 @@ Group: System/Monitoring
|
|||||||
Url: http://kernel.ubuntu.com/~cking/stress-ng/
|
Url: http://kernel.ubuntu.com/~cking/stress-ng/
|
||||||
Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
|
Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: keyutils-devel
|
BuildRequires: keyutils-devel
|
||||||
|
BuildRequires: libaio-devel
|
||||||
BuildRequires: libattr-devel
|
BuildRequires: libattr-devel
|
||||||
|
BuildRequires: libbsd-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
BuildRequires: libseccomp-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -46,7 +49,8 @@ export CFLAGS="%{optflags}"
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user