From 9fe6db3e3905f779a3a838eb5b7c68943eadd0be Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 Apr 2024 23:54:14 +0000 Subject: automatic import of pytorch-lightning --- pytorch_lightning.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pytorch_lightning.spec b/pytorch_lightning.spec index 89a54a9..b30828b 100644 --- a/pytorch_lightning.spec +++ b/pytorch_lightning.spec @@ -4,9 +4,9 @@ # using global macro to speed up the spec editing %global pkg_name pytorch-lightning %global version 2.2.2 -%global pkg_summary pytorch-lightning is used to process text data +%global pkg_summary pytorch-lightning provides APIs for pytorch realize. %global pkg_desc %{expand:%{pkg_summary}} -%global open_license opensource_license +%global open_license Apache-2.0 Name: %{pkg_name} Version: %{version} @@ -16,7 +16,7 @@ License: %{open_license} # the url and source0 url here URL: https://pypi.org/project/pytorch-lightning/ -Source0: https://files.pythonhosted.org/packages/c1/d0/b3155686f9b0a0e593b65ab39fb08f051d172dd13986c044a698d2adb127/pytorch-lightning-2.2.2.tar.gz +Source0: https://files.pythonhosted.org/packages/c1/d0/b3155686f9b0a0e593b65ab39fb08f051d172dd13986c044a698d2adb127/pytorch-lightning-%{version}.tar.gz # build requires BuildRequires: python3-devel @@ -35,7 +35,7 @@ BuildRequires: python3-setuptools_scm Summary: %{pkg_summary} %description -n python3-%{pkg_name} -python3-transformers provides APIs for transformers realize. +%{pkg_desc} # pkg section: help optional # %package -n help @@ -62,7 +62,8 @@ python3-transformers provides APIs for transformers realize. %doc *.md %license LICENSE* # %{python3_sitearch}/python_%{pkg_name}/* -%{python3_sitelib}/python_%{pkg_name}/* +%{python3_sitelib}/pytorch_lightning/* +%{python3_sitelib}/lightning_fabric/* %changelog -- cgit v1.2.3