diff --git a/.python-damo.spec.swp b/.python-damo.spec.swp new file mode 100644 index 0000000000000000000000000000000000000000..d46cf4521921d39d47a5f2483d84c688f3c75b4c Binary files /dev/null and b/.python-damo.spec.swp differ diff --git a/python-damo.spec b/python-damo.spec index 5f6f4daa78f8fd399cfae49f877dc2330291af72..45b54cec823b8d93895d08c455bd2d0d2e920dee 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: 2 +Release: 3 Summary: DAMON user-space tool License: GPL-2.0 URL: https://github.com/awslabs/damo @@ -43,6 +43,8 @@ make data access-aware memory management optimizations. %install %pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} +install -d -m755 %{buildroot}/%{_bindir} +install -m 755 damo %{buildroot}/%{_bindir}/ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi @@ -66,7 +68,7 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-damo +%files -n python3-damo -f filelist.lst %{python3_sitelib}/* %files -n python3-damo-help @@ -76,6 +78,9 @@ mv %{buildroot}/doclist.lst . %doc CONTRIBUTING README.md SECURITY.md USAGE.md release_note %changelog +* Mon Nov 18 2024 changtao - 2.4.3-3 +- modify the spec file to add /usr/bin/damo as install file + * Mon Nov 11 2024 changtao - 2.4.3-2 - modify the spec file to fix compile warning