From 18c9af9ea6589d08874fa2ee051099934389322a Mon Sep 17 00:00:00 2001 From: changtao Date: Fri, 25 Oct 2024 05:11:40 +0800 Subject: [PATCH] modify the spec file to fix compile warning --- python-damo.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/python-damo.spec b/python-damo.spec index 64387ba..5f6f4da 100644 --- a/python-damo.spec +++ b/python-damo.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-damo Version: 2.4.3 -Release: 1 +Release: 2 Summary: DAMON user-space tool License: GPL-2.0 URL: https://github.com/awslabs/damo @@ -50,7 +50,7 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} touch filelist.lst if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst @@ -66,15 +66,18 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-damo -f filelist.lst +%files -n python3-damo %{python3_sitelib}/* -%files -n python3-damo-help -f doclist.lst +%files -n python3-damo-help %{_docdir}/* %license COPYING %doc CONTRIBUTING README.md SECURITY.md USAGE.md release_note %changelog +* Mon Nov 11 2024 changtao - 2.4.3-2 +- modify the spec file to fix compile warning + * Tue Jul 23 2024 Deyuan Fan - 2.4.3-1 - package init -- Gitee