summaryrefslogtreecommitdiff
path: root/python-modulo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-modulo.spec')
-rw-r--r--python-modulo.spec18
1 files changed, 9 insertions, 9 deletions
diff --git a/python-modulo.spec b/python-modulo.spec
index a4564ae..384d866 100644
--- a/python-modulo.spec
+++ b/python-modulo.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-modulo
-Version: 2.0.3
+Version: 2.1.0
Release: 1
Summary: Pure-Python library for working with modular arithmetic, congruence classes, and finite fields.
License: MIT
URL: https://pypi.org/project/modulo/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6e/16/0af152506ea368184ae82cb099f8b2d7869857fa66b7a2468a484f23c549/modulo-2.0.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/8d/f1/6870979dda274664a26af843dbb3f3a6daa2ab171fb44b2dba5c9ae4089a/modulo-2.1.0.tar.gz
BuildArch: noarch
Requires: python3-egcd
@@ -38,7 +38,7 @@ Provides: python3-modulo-doc
%prep
-%autosetup -n modulo-2.0.3
+%autosetup -n modulo-2.1.0
%build
%py3_build
@@ -52,20 +52,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 .
@@ -78,5 +78,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.3-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.0-1
- Package Spec generated