summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-15 17:55:43 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-15 17:55:43 +0000
commit5fc78aa64eea9f6276862b7df2b55ab528b1d564 (patch)
treeb83787f5e6d7883d469dfdec0a370b755cdbed79
parentf1f6c3b88e0b1836e4899ff10a0780385bf857bc (diff)
automatic import of torchvisionopeneuler23.09
-rw-r--r--torchvision.spec4
1 files changed, 1 insertions, 3 deletions
diff --git a/torchvision.spec b/torchvision.spec
index 18acf57..8757547 100644
--- a/torchvision.spec
+++ b/torchvision.spec
@@ -7,7 +7,6 @@ Group: Development/Libraries
Source0: https://github.com/pytorch/vision/archive/refs/tags/v0.16.2.tar.gz
Patch0: tst.patch
URL: https://github.com/pytorch/vision
-BuildRoot: %{_tmppath}/%{name}-buildroot
Requires: python3-pytorch
Requires: python3-numpy
@@ -46,6 +45,7 @@ Torchvision is a PyTorch add-on that provides access to:
- Transforms (for image preprocessing)
%global pypi_version 0.16.2
+%global debug_package %{nil}
%prep
%autosetup -p1 -n vision-%{pypi_version}
@@ -60,8 +60,6 @@ Torchvision is a PyTorch add-on that provides access to:
%doc *.md
%license LICENSE
%{python3_sitearch}/*
-%exclude %{python3_sitearch}/*/*.a
-%exclude %{python3_sitearch}/*/*.la
%changelog
* Mon Apr 15 2024 weilaijishu