summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 04:48:18 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 04:48:18 +0000
commit22ea21defc541bd81ead6d8ab506b70b22c4c7c9 (patch)
tree62b92fc08e83aa4c8da0ef1a52ac9806b6aeb4b6
parente69449a11eb36feed1b8e659795591c46eb41389 (diff)
automatic import of python-codecarbonopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-codecarbon.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index f37b1f9..33bd280 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/codecarbon-2.2.2.tar.gz
+/codecarbon-2.2.3.tar.gz
diff --git a/python-codecarbon.spec b/python-codecarbon.spec
index b64ef08..cdb0271 100644
--- a/python-codecarbon.spec
+++ b/python-codecarbon.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-codecarbon
-Version: 2.2.2
+Version: 2.2.3
Release: 1
Summary: please add a summary manually as the author left a blank one
License: MIT License
URL: https://pypi.org/project/codecarbon/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fe/13/110a99911196fb8d4f952b55c0068aaf75add6e2e5c69f8b535f331f1b3e/codecarbon-2.2.2.tar.gz
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c5/2d/f83998583c02ae4c653801642f49bd90f29ece54ced4cfec6d576a937983/codecarbon-2.2.3.tar.gz
BuildArch: noarch
Requires: python3-arrow
@@ -417,7 +417,7 @@ Maintainers are [@vict0rsch](https://github.com/vict0rsch) [@benoit-cty](https:/
%prep
-%autosetup -n codecarbon-2.2.2
+%autosetup -n codecarbon-2.2.3
%build
%py3_build
@@ -431,20 +431,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 .
@@ -457,5 +457,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.3-1
- Package Spec generated
diff --git a/sources b/sources
index f5e4f4c..250d86e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c28410c76f2a5eb9ac14c6dc12dfb156 codecarbon-2.2.2.tar.gz
+527d67fbb3144a8ab45aa10e0aac2eeb codecarbon-2.2.3.tar.gz