summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-bbox.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 5a5b526..47c2574 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/bbox-0.9.2.tar.gz
+/bbox-0.9.4.tar.gz
diff --git a/python-bbox.spec b/python-bbox.spec
index 5098442..0197b0b 100644
--- a/python-bbox.spec
+++ b/python-bbox.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-bbox
-Version: 0.9.2
+Version: 0.9.4
Release: 1
Summary: Python library for 2D/3D bounding boxes
License: MIT
URL: https://pypi.org/project/bbox/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5d/9d/0a1b74752ff42567818248e561fc52fd83d00aadd1a5b2bf38ca0bc3e2ee/bbox-0.9.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/6b/e6/0884340cd52de507e78110e1f98739ea321c1ea661ffc0c236cdf54acc4f/bbox-0.9.4.tar.gz
BuildArch: noarch
Requires: python3-numpy
@@ -30,7 +30,7 @@ Provides: python3-bbox-doc
%prep
-%autosetup -n bbox-0.9.2
+%autosetup -n bbox-0.9.4
%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
-* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.4-1
- Package Spec generated
diff --git a/sources b/sources
index edad60f..8c6df5d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f8b47d16f1fca11e4821e57b6d5000cd bbox-0.9.2.tar.gz
+2135bd2217b66c5fd9afb2f2c3163ce6 bbox-0.9.4.tar.gz