summaryrefslogtreecommitdiff
path: root/text.spec
diff options
context:
space:
mode:
Diffstat (limited to 'text.spec')
-rw-r--r--text.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/text.spec b/text.spec
index 934c469..0204a94 100644
--- a/text.spec
+++ b/text.spec
@@ -1,5 +1,6 @@
%global commit 0.13.0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global pypi_name torchtext
Name: torchtext
Version: 0.13.0
@@ -33,16 +34,15 @@ modeling, and sequence-to-sequence learning.
%autosetup -n text-%{commit}
%build
-export TORCHTEXT_BUILD_VERSION=%{version}
-export TORCHTEXT_BUILD_NUMBER=1
-python3 setup.py bdist_wheel
+%py3_build
%install
%py3_install
%files
%{python3_sitelib}/*
+%{python3_sitearch}/%{name}
%changelog
-* Sat Apr 15 2023 Your Name <your.name@example.com> - 0.13.0-1
+* Sat Apr 15 2023 chelsey20011128@gmail.com - 0.13.0-1
- Initial package