加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
oec-hardware.spec 3.02 KB
一键复制 编辑 原始数据 按行查看 历史
cuixucui 提交于 2023-02-28 18:01 . update oec-hardware version to v1.1.4
%define version 1.1.4
%define release 0
%define debug_package %{nil}
%global _build_id_links none
%undefine __brp_mangle_shebangs
Name: oec-hardware
Summary: openEuler Hardware Compatibility Test Suite
Version: %{version}
Release: %{release}
Group: Development/Tools
License: Mulan PSL v2
URL: https://gitee.com/openeuler/oec-hardware
Source0: %{name}-%{version}.tar.bz2
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gcc
Requires: kernel-devel, kernel-headers, dmidecode, tar
Requires: kernel >= 4
Requires: python3, python3-pyyaml, python3-concurrent-log-handler
Provides: libswsds.so()(64bit)
# server subpackage
%package server
Summary: openEuler Hardware Compatibility Test Server
Group: Development/Tools
Requires: python3, python3-devel, python3-flask, python3-uWSGI
Requires: nginx, tar, qperf, psmisc
%description
openEuler Hardware Compatibility Test Suite
%description server
openEuler Hardware Compatibility Test Server
%prep
%setup -q -c
%build
strip tests/keycard/libswsds_%{_arch}.so
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
DESTDIR=$RPM_BUILD_ROOT VERSION_RELEASE=%{version} make
%install
DESTDIR=$RPM_BUILD_ROOT make install
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%pre
%post
%files
%defattr(-,root,root)
/usr/bin/oech
/usr/share/oech/kernelrelease.json
/usr/share/oech/lib/hwcompatible
/usr/share/oech/lib/config
/usr/share/oech/lib/tests
/usr/lib/systemd/system/oech.service
/usr/share/oech/lib/oech_logrotate.sh
%dir /var/oech
%dir /usr/share/oech/lib
%dir /usr/share/oech
%files server
%defattr(-,root,root)
/usr/bin/oech-server
/usr/share/oech/lib/server
/usr/share/oech/lib/config
/usr/lib/systemd/system/oech-server.service
%postun
rm -rf /var/lock/oech.lock
%changelog
* Tue Feb 28 2023 cuixucui <cuixucui1@h-partner.com> - 1.1.4-0
1. Add board information in the test report
2. Add spdk test case
3. Add dpdk test case
4. Bugfix
* Mon Oct 24 2022 meitingli <bubble_mt@outlook.com> - 1.1.3-0
1. Add support for openEuler 22.03LTS SP1
2. Add AMD GPU testcase
3. Add automatic configuration network card IP
4. Add generate compatibility information
* Mon Aug 29 2022 meitingli <bubble_mt@outlook.com> - 1.1.2-0
1. Upgrade command module
2. Add VGPU testsuite
3. Bugfix
* Wed Jul 27 2022 cuixucui <cuixucui1@h-partners.com> - 1.1.1-0
-1. Reconstruct the log module and rectify the log printing
-2. Add kabi testcase
-3. Add driver, driver version, chip and module display to the console
-4. Add configuration file for testsuite to improve automation rate
-5. Add oech and oech-server version display
-6. Add driver information display in hardware test logs
* Mon May 30 2022 meitingli <bubble_mt@outlook.com> - 1.1.0-0
- 1. Add support os version: openEuler 22.03LTS
- 2. Add FC/RAID/keycard/GPU/infiniband testcases
- 3. Bugfix
* Fri Jul 26 2019 Lu Tianxiong <lutianxiong@huawei.com> - 1.0.0-h1
- Initial spec
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化