summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-15 17:22:41 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-15 17:22:41 +0000
commitfb55a80f68a2fa7ef7fb2aee7b26719bcc259308 (patch)
tree756c046f149804fc2980842590ba787ac2a7d64c
parent088fdd462771d0cf70fcb414af28bb641aefb00d (diff)
automatic import of torchvideoopeneuler23.09
-rw-r--r--torchvideo.spec15
1 files changed, 2 insertions, 13 deletions
diff --git a/torchvideo.spec b/torchvideo.spec
index c5ed2b4..afce40f 100644
--- a/torchvideo.spec
+++ b/torchvideo.spec
@@ -2,14 +2,13 @@
%global _unpackaged_files_terminate_build 0
Name: torchvideo
-Version: 0.16.2
+Version: 0.1.3
Release: 1%{?dist}
Summary: A deep learning library for video understanding research
License: BSD
URL: https://github.com/pytorch/vision
Source0: pytorchvideo-v0.1.3.tar.gz
-
%description
PyTorchVideo is a deep learning library with a focus on video understanding work. PytorchVideo provides reusable, modular and efficient components needed to accelerate the video understanding research.
@@ -39,17 +38,7 @@ PyTorchVideo is a deep learning library with a focus on video understanding work
%pyproject_build
%install
-%py3_install
-install -d -m755 %{buildroot}/%{_pkgdocdir}
-if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
-if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
-pushd %{buildroot}
-touch doclist.lst
-if [ -d usr/share/man ]; then
- find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
-fi
-popd
-mv %{buildroot}/doclist.lst .
+%pyproject_install
%files -n python3-pytorchvideo
%doc *.md