summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pytorch_lightning.spec11
1 files 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