代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/lmbench 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global debug_package %{nil}
Name: lmbench
Version: 3
Release: 2
Summary: Tools for Performance Analysis
License: GPLv2
URL: http://www.bitmover.com/lmbench/
Source0: http://www.bitmover.com/lmbench/%{name}%{version}.tar.gz
Patch0: lmbench3-fix-llseek-and-remove-bk-in-Makefile.patch
Patch1: lmbench3-add-HOWTO-to-indicate-howto-use-this-package.patch
Patch2: Rpc-code-moved-from-glibc-to-libtirpc.patch
BuildRequires: gcc libtirpc-devel
%description
A userspace utility for testing the memory subsystem for faults. It's portable and should compile and work on any 32- or 64-bit Unix-like system. (Yes, even weird, proprietary Unices, and even Mac OS X.) For hardware developers, memtester can be told to test memory starting at a particular physical address as of memtester version 4.1.0.
%prep
%setup -q -n %{name}%{version}/
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
%make_build
%install
mkdir -p %{buildroot}/opt/%{name}/{bin,doc,scripts,results,src}
find bin/ -name *.o | xargs rm -rf
find bin/ -name *.a | xargs rm -rf
cp -r bin/* %{buildroot}/opt/%{name}/bin/
install -m 0644 src/* %{buildroot}/opt/%{name}/src
install -m 0755 scripts/* %{buildroot}/opt/%{name}/scripts/
install -m 0644 scripts/Makefile %{buildroot}/opt/%{name}/scripts/
install -m 0644 scripts/README %{buildroot}/opt/%{name}/scripts/
install -m 0644 doc/* %{buildroot}/opt/%{name}/doc/
install -m 0644 Makefile %{buildroot}/opt/%{name}/
install -m 0644 results/Makefile %{buildroot}/opt/%{name}/results
%pre
%preun
%post
%postun
%check
%files
%license COPYING COPYING-2
%doc README HOWTO
/opt/%{name}/*
%changelog
* Wed Jul 15 2020 wangyue <[email protected]> - 3-2
- Fix rpc.h error.Rpc code moved from glibc to libtirpc.
* Sun Mar 29 2020 Wei Xiong <[email protected]>
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。