From fb55a80f68a2fa7ef7fb2aee7b26719bcc259308 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 Apr 2024 17:22:41 +0000 Subject: automatic import of torchvideo --- torchvideo.spec | 15 ++------------- 1 file 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 -- cgit v1.2.3