summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 08:28:42 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 08:28:42 +0000
commit5b45a831a5214f1db72abd1d701323ddf23d61ac (patch)
tree82b548ca397083613c8059ff1b5d7f5d11b2c955
parent11da17b67af91b8c7a9ad29da7c8ee3544e57a62 (diff)
automatic import of python-photo-gridopeneuler20.03
-rw-r--r--python-photo-grid.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-photo-grid.spec b/python-photo-grid.spec
index 9254f70..6cf1a03 100644
--- a/python-photo-grid.spec
+++ b/python-photo-grid.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A GUI for field segmentation
License: GPLv3
URL: https://github.com/Poissonfish/GRID
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/50/84/449fe5c509a1a946307dcce766f8d92e916c146a485bf96b4fb9f0d9a6d4/photo_grid-1.2.25.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/50/84/449fe5c509a1a946307dcce766f8d92e916c146a485bf96b4fb9f0d9a6d4/photo_grid-1.2.25.tar.gz
BuildArch: noarch
Requires: python3-numpy
@@ -41,7 +41,7 @@ Provides: python3-photo-grid-doc
%prep
-%autosetup -n photo-grid-1.2.25
+%autosetup -n photo_grid-1.2.25
%build
%py3_build
@@ -55,20 +55,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 .
@@ -81,5 +81,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.25-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.25-1
- Package Spec generated