summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 07:33:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 07:33:16 +0000
commitf0eb043cd18baee25d140825454083b546ccaf96 (patch)
tree36be001f679d4f73c8138ac492088019b8db4505
parentf8110c68f3cb792cca6664a349354442ae90288e (diff)
automatic import of python-lightly-utilsopeneuler20.03
-rw-r--r--python-lightly-utils.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-lightly-utils.spec b/python-lightly-utils.spec
index 08b73e4..aacd974 100644
--- a/python-lightly-utils.spec
+++ b/python-lightly-utils.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A utility package for lightly
License: MIT
URL: https://www.lightly.ai
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/12/3a/fc1c006440cef68bd618056633aea5ae50c1ceee1b8eeb25e101df8e6ded/lightly_utils-0.0.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/12/3a/fc1c006440cef68bd618056633aea5ae50c1ceee1b8eeb25e101df8e6ded/lightly_utils-0.0.2.tar.gz
BuildArch: noarch
Requires: python3-numpy
@@ -30,7 +30,7 @@ Provides: python3-lightly-utils-doc
%prep
-%autosetup -n lightly-utils-0.0.2
+%autosetup -n lightly_utils-0.0.2
%build
%py3_build
@@ -44,20 +44,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
- find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
- find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
- find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
- find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
- find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -70,5 +70,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.2-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.2-1
- Package Spec generated