From 1d11897516d63c3b5b0454986e04aedf3a0dddb5 Mon Sep 17 00:00:00 2001 From: yifengyou <842056007@qq.com> Date: Mon, 22 Aug 2022 10:17:53 +0800 Subject: [PATCH] fix build failed problem. log: Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash /usr/bin/bash /usr/bin/python3 python(abi) = 3.7 Processing files: mock-plugins-2.2-1.noarch error: File not found: /root/rpmbuild/BUILDROOT/mock-2.2-1.x86_64/usr/lib/python3.7/site-packages/mockbuild/__pycache__/scm.*.py* error: File not found: /root/rpmbuild/BUILDROOT/mock-2.2-1.x86_64/usr/lib/python3.7/site-packages/mockbuild/plugins/__pycache__/lvm_root.*.py* --- mock.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mock.spec b/mock.spec index d4df753..53eeff7 100644 --- a/mock.spec +++ b/mock.spec @@ -6,7 +6,7 @@ Summary: Builds packages inside chroots Name: mock Version: 2.2 -Release: 1 +Release: 2 License: GPLv2+ Source: %{name}-%{version}.tar.gz URL: https://github.com/rpm-software-management/mock/ @@ -142,11 +142,10 @@ install -p -m 0644 %{SOURCE1} %{buildroot}/etc/mock/site-defaults.cfg %files plugins %{python_sitelib}/mockbuild/scm.py* %{python_sitelib}/mockbuild/plugins/lvm_root.* -%if %{use_python3} -%{python3_sitelib}/mockbuild/__pycache__/scm.*.py* -%{python3_sitelib}/mockbuild/plugins/__pycache__/lvm_root.*.py* -%endif %changelog +* Mon Aug 22 2022 yifengyou 2.2-2 +- fix build failed for openEuler-20.03-LTS-SP1 + * Fri May 15 2020 hexiaowen 2.2-1 - first build -- Gitee