summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-step-py.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 545337b..16bbfc5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/STEP.py-2.1.tar.gz
+/STEP.py-2.2.tar.gz
diff --git a/python-step-py.spec b/python-step-py.spec
index 12a40ff..9e0bdbd 100644
--- a/python-step-py.spec
+++ b/python-step-py.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-STEP.py
-Version: 2.1
+Version: 2.2
Release: 1
Summary: please add a summary manually as the author left a blank one
License: MIT
URL: https://github.com/eddo888/STEP.py
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f2/fa/e57a1e4de9a0bbf1eee7452b47132f860b81694c2d2ea338ffcb55f9295b/STEP.py-2.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/b1/b1/7adb15d3a0f356fbfea71dc01470f7d132c54eda9d179ff79d371e31af08/STEP.py-2.2.tar.gz
BuildArch: noarch
@@ -535,7 +535,7 @@ this Sparx Resource file can be used to create colour profiles for UML types.
%prep
-%autosetup -n STEP.py-2.1
+%autosetup -n STEP.py-2.2
%build
%py3_build
@@ -549,20 +549,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 .
@@ -575,5 +575,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2-1
- Package Spec generated
diff --git a/sources b/sources
index 0a8e34a..148cb36 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4a0e34b3f1dbe4978bdd70272fc024bb STEP.py-2.1.tar.gz
+66fcc5ee25d33c830660d1b15343141c STEP.py-2.2.tar.gz