summaryrefslogtreecommitdiff
path: root/python-pytorchvideo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-pytorchvideo.spec')
-rw-r--r--python-pytorchvideo.spec15
1 files changed, 8 insertions, 7 deletions
diff --git a/python-pytorchvideo.spec b/python-pytorchvideo.spec
index 60bb69e..162a631 100644
--- a/python-pytorchvideo.spec
+++ b/python-pytorchvideo.spec
@@ -37,11 +37,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 %{pkg_name}-%{pkg_version}
@@ -51,7 +51,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
@@ -70,11 +70,12 @@ mv %{buildroot}/doclist.lst .
%doc README.md
%{python3_sitelib}/%{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 pytorchvideo