diff --git a/python-damo.spec b/python-damo.spec index 64387ba126673f9cb1ccf41e8b5fcb5c0f03b805..5f6f4daa78f8fd399cfae49f877dc2330291af72 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