diff --git a/oec-hardware-1.1.2-fix-system.patch b/oec-hardware-1.1.2-fix-system.patch new file mode 100644 index 0000000000000000000000000000000000000000..f1324ae1aee25ed6d7b48fbccdd61fbc39f90046 --- /dev/null +++ b/oec-hardware-1.1.2-fix-system.patch @@ -0,0 +1,12 @@ +diff -Naur rpm/tests/system/system.py oech/tests/system/system.py +--- rpm/tests/system/system.py 2022-09-05 16:28:46.418278940 +0800 ++++ oech/tests/system/system.py 2022-09-05 16:31:23.830278940 +0800 +@@ -62,7 +62,7 @@ + + output = rpm_verify[0].split('\n') + for file in output: +- if "test_config.yaml" in file: ++ if not file or "test_config.yaml" in file: + continue + flag = False + self.logger.error( diff --git a/oec-hardware.spec b/oec-hardware.spec index 6d6b8feb48c13af782d37103351e3da03eeee951..439f96ab1a354ddc3f81ca9b9da62a4c9e333b4e 100644 --- a/oec-hardware.spec +++ b/oec-hardware.spec @@ -4,7 +4,7 @@ Name: oec-hardware Summary: openEuler Hardware Compatibility Test Suite Version: 1.1.2 -Release: 1 +Release: 2 Group: Development/Tools License: Mulan PSL v2 URL: https://gitee.com/openeuler/oec-hardware @@ -12,6 +12,7 @@ Source0: https://gitee.com/openeuler/oec-hardware/repository/archive/v%{v # patch fix issue Patch0001: oec-hardware-1.1.2-fix-oech.service_status_failed.patch +Patch0002: oec-hardware-1.1.2-fix-system.patch Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gcc @@ -35,6 +36,7 @@ openEuler Hardware Compatibility Test Server %prep %setup -q -c %patch1 -p1 +%patch2 -p1 %build @@ -77,6 +79,9 @@ DESTDIR=$RPM_BUILD_ROOT make install rm -rf /var/lock/oech.lock %changelog +* Mon Sep 05 2022 cuixucui - 1.1.2-2 +- Fix Check whether the tool is modified failed + * Sat Sep 03 2022 ylzhangah - 1.1.2-1 - Fix the status failed in checking oech.service status after stoped oech.service