summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 02:42:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 02:42:53 +0000
commit8e58c30a91e5a98d29d9e1821ee6afd763307117 (patch)
treea23117bef3d1047b6830d1e5bc36ff7fc54e7a7d
parentebad8b8439a3a7ca49dcff2a50ea809e49db6452 (diff)
automatic import of python-miniconsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-minicons.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 81b335c..dff12eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/minicons-0.2.14.tar.gz
+/minicons-0.2.16.tar.gz
diff --git a/python-minicons.spec b/python-minicons.spec
index b7581c8..07101d4 100644
--- a/python-minicons.spec
+++ b/python-minicons.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-minicons
-Version: 0.2.14
+Version: 0.2.16
Release: 1
Summary: A package of useful functions to analyze transformer based language models.
License: MIT
URL: https://github.com/kanishkamisra/minicons
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/28/14/a982800271bbef77413049f529dafd54090a7144fcaeba83eda68c7aad0f/minicons-0.2.14.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/10/75/7742678c70e5fdf24a8bb16d9460b9a00a4ceb8cd71a799308792d33923a/minicons-0.2.16.tar.gz
BuildArch: noarch
Requires: python3-transformers
@@ -383,7 +383,7 @@ If you use `minicons`, please cite the following paper:
%prep
-%autosetup -n minicons-0.2.14
+%autosetup -n minicons-0.2.16
%build
%py3_build
@@ -397,20 +397,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 .
@@ -423,5 +423,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.14-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.16-1
- Package Spec generated
diff --git a/sources b/sources
index 33502c9..dd6d7b9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9c17128fca8d5f62ce9221c734a295bb minicons-0.2.14.tar.gz
+278b5c854ca241272bca5bbd639cd113 minicons-0.2.16.tar.gz