summaryrefslogtreecommitdiff
path: root/python-pytorch3d.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-15 19:21:02 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-15 19:21:02 +0000
commit6b42b3d65b191b0cc6b849f13ec5a1189e6c4e4f (patch)
tree32bbbf9949a73c598eb708acc4f905a53cc83783 /python-pytorch3d.spec
parent4f6abeb50cb893c2ecace8f0d09fd9427d0fd4f0 (diff)
automatic import of python-pytorch3dopeneuler23.09
Diffstat (limited to 'python-pytorch3d.spec')
-rw-r--r--python-pytorch3d.spec15
1 files changed, 8 insertions, 7 deletions
diff --git a/python-pytorch3d.spec b/python-pytorch3d.spec
index d64236d..30e2681 100644
--- a/python-pytorch3d.spec
+++ b/python-pytorch3d.spec
@@ -41,11 +41,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}
@@ -55,7 +55,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
@@ -76,11 +76,12 @@ mv %{buildroot}/doclist.lst .
%{python3_sitearch}/projects/*
%{_bindir}/%{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 pytorch3d