diff options
Diffstat (limited to 'python-torchvision.spec')
-rw-r--r-- | python-torchvision.spec | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/python-torchvision.spec b/python-torchvision.spec index e64c8df..339ade3 100644 --- a/python-torchvision.spec +++ b/python-torchvision.spec @@ -33,6 +33,7 @@ BuildRequires: python3-hatchling BuildRequires: python3-pytorch >= 2.1.2 BuildRequires: python3-numpy + %description %{pkg_description} @@ -42,11 +43,11 @@ Summary: %{pkg_summary} %description -n python3-%{pkg_name} %{pkg_description} -%package doc -Summary: the documentation for %{pkg_name} +%package help +Summary: the documents and examples for %{pkg_name} -%description doc -This package contains the documentation for %{pkg_name} +%description help +This package contains the documents and examples for %{pkg_name} %prep %autosetup -p1 -n vision-%{pkg_version} @@ -56,7 +57,7 @@ This package contains the documentation for %{pkg_name} %install %pyproject_install -# doc pkg: +# help pkg files: install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -75,11 +76,12 @@ mv %{buildroot}/doclist.lst . %doc README.md %{python3_sitearch}/%{pkg_name}* -%files doc -f doclist.lst +%files help -f doclist.lst %{_docdir}/* %changelog * Mon Apr 15 2024 YunShu -- add doc subpackage +- add help subpackage + * Sun Mar 31 2024 YunShu - add torchvision |