diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-15 18:29:44 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-15 18:29:44 +0000 |
commit | c9f4e715666f3b395700d4570cdda7c0dfffd90d (patch) | |
tree | 1b0438c99147d8b5e61182285aa8c05b2a325574 | |
parent | eacdd73c148a078ac28120593fbece9b075493e6 (diff) |
automatic import of python-tensordictopeneuler23.09
-rw-r--r-- | python-tensordict.spec | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/python-tensordict.spec b/python-tensordict.spec index cdb8116..0986b6b 100644 --- a/python-tensordict.spec +++ b/python-tensordict.spec @@ -22,7 +22,7 @@ BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling -BuildRequires: python3-pytorch >= 2.1.2 +BuildRequires: python3-pytorch >= 2.1.2 %description %{pkg_description} @@ -33,11 +33,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} @@ -47,7 +47,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 @@ -66,11 +66,12 @@ mv %{buildroot}/doclist.lst . %doc README* %{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 tensordict 0.2.1 |