summaryrefslogtreecommitdiff
path: root/python-spl-widgets.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-spl-widgets.spec')
-rw-r--r--python-spl-widgets.spec21
1 files changed, 11 insertions, 10 deletions
diff --git a/python-spl-widgets.spec b/python-spl-widgets.spec
index dbd58b2..b5c0d21 100644
--- a/python-spl-widgets.spec
+++ b/python-spl-widgets.spec
@@ -1,14 +1,15 @@
%global _empty_manifest_terminate_build 0
Name: python-spl-widgets
-Version: 1.0.0
+Version: 1.5.2
Release: 1
Summary: Widgets for the Barnard Speech Perception Laboratory
License: MIT License
-URL: https://github.com/ctsf1/spl_widgets
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0b/40/107c8f34b654272318a396e1d41363373b9f734519d91e94dd75085c6719/spl_widgets-1.0.0.tar.gz
+URL: https://github.com/clntsf/spl_widgets
+Source0: https://mirrors.aliyun.com/pypi/web/packages/4a/a2/da384ebf4d1a0438a6b2c4290353b7497443ec4cf241713bca9bb8a6b9e1/spl_widgets-1.5.2.tar.gz
BuildArch: noarch
Requires: python3-pandas
+Requires: python3-tkinterdnd2
%description
@@ -29,7 +30,7 @@ Provides: python3-spl-widgets-doc
%prep
-%autosetup -n spl-widgets-1.0.0
+%autosetup -n spl_widgets-1.5.2
%build
%py3_build
@@ -43,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 .
@@ -69,5 +70,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.2-1
- Package Spec generated