diff --git a/pyproject.toml b/pyproject.toml index 52befc8c..0966d987 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,7 +110,7 @@ log_cli_date_format = "%Y-%m-%d %H:%M:%S" include = ["ramalama", "ramalama.*"] [tool.setuptools.data-files] -"share/ramalama" = ["shortnames/shortnames.conf"] +"share/ramalama" = ["shortnames/shortnames.conf", "docs/ramalama.conf"] "share/man/man1" = ["docs/*.1"] "share/man/man5" = ["docs/*.5"] "share/man/man7" = ["docs/*.7"] diff --git a/rpm/ramalama.spec b/rpm/ramalama.spec index 52438afb..aae663d0 100644 --- a/rpm/ramalama.spec +++ b/rpm/ramalama.spec @@ -56,14 +56,12 @@ will run the AI Models within a container based on the OCI image. %forgeautosetup -p1 %build +make docs %pyproject_wheel -%{__make} docs %install %pyproject_install %pyproject_save_files -l %{pypi_name} -%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install-docs install-shortnames -%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install-completions %check %pytest -v test/unit