summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-dataconf.spec20
-rw-r--r--sources2
3 files changed, 12 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index 92d9d7f..5a947f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/dataconf-2.1.3.tar.gz
+/dataconf-2.2.1.tar.gz
diff --git a/python-dataconf.spec b/python-dataconf.spec
index de3005a..3c2acbe 100644
--- a/python-dataconf.spec
+++ b/python-dataconf.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-dataconf
-Version: 2.1.3
+Version: 2.2.1
Release: 1
Summary: Simple dataclasses configuration management for Python with hocon/json/yaml/properties/env-vars/dict support.
-License: Apache2
+License: MPL-2.0
URL: https://github.com/zifeo/dataconf
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3e/c5/9922fb8deb686f377cd8e4e6d20dd7f42a0f5b755d408f8164e5d1b2ab4c/dataconf-2.1.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/2a/f0/1fe1a597eb49af4ed17c1b161d882d4486fb7fbd3f7aece589cf5b090199/dataconf-2.2.1.tar.gz
BuildArch: noarch
Requires: python3-pyhocon
@@ -706,7 +706,7 @@ dataconf -c confs/test.hocon -m tests.configs -d TestConf -o hocon
%prep
-%autosetup -n dataconf-2.1.3
+%autosetup -n dataconf-2.2.1
%build
%py3_build
@@ -720,20 +720,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 .
@@ -746,5 +746,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.3-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.1-1
- Package Spec generated
diff --git a/sources b/sources
index ec9dc93..34f1a21 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1db85fb0c98bda9e046619190df503a0 dataconf-2.1.3.tar.gz
+4b2b762a5a19e4cbcaace64a7c979c7c dataconf-2.2.1.tar.gz