diff options
Diffstat (limited to 'python-tensordict.spec')
-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 |