summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 00:38:46 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 00:38:46 +0000
commit2a5e9f38772f57333449a58a62939f6678d9b5e1 (patch)
tree43677ef698e6dfdc2130e5238d8cadb128f62d4b
parent3e87af9c554c410f5db88fe5f0249711e222043e (diff)
automatic import of python-moduloopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-modulo.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 023c106..0a89c91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/modulo-2.0.3.tar.gz
+/modulo-2.1.0.tar.gz
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
diff --git a/sources b/sources
index 916a1b0..973657c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-232e780da9ed7f9fdd0058fd153490a3 modulo-2.0.3.tar.gz
+647d718d9e9658efe27df2c3f2dc6aae modulo-2.1.0.tar.gz