summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-car-connector-framework.spec22
-rw-r--r--sources2
3 files changed, 14 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index d8112bd..c3a2293 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/car-connector-framework-3.0.2.tar.gz
+/car-connector-framework-4.0.0.tar.gz
diff --git a/python-car-connector-framework.spec b/python-car-connector-framework.spec
index 20d4e27..7a4ffa4 100644
--- a/python-car-connector-framework.spec
+++ b/python-car-connector-framework.spec
@@ -1,16 +1,18 @@
%global _empty_manifest_terminate_build 0
Name: python-car-connector-framework
-Version: 3.0.2
+Version: 4.0.0
Release: 1
Summary: CAR service connector framework
License: Apache License 2.0
URL: https://github.com/IBM/cp4s-car-connector-framework
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/32/be/12342b8e76b19a3ae3b1c9d354279e0b96269d3942c7082a8b695c492a9c/car-connector-framework-3.0.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/2b/c2/677c4d9aee08d0e3bc5ff244130d0cc5208eefacdb9572c1973b3029e4cb/car-connector-framework-4.0.0.tar.gz
BuildArch: noarch
+Requires: python3-jwcrypto
+Requires: python3-json-logger
Requires: python3-jschon
+Requires: python3-urllib3
Requires: python3-requests
-Requires: python3-json-logger
%description
# Car Connector Framework
@@ -148,7 +150,7 @@ Use the guide from [PUBLISH.md](./PUBLISH.md)
%prep
-%autosetup -n car-connector-framework-3.0.2
+%autosetup -n car-connector-framework-4.0.0
%build
%py3_build
@@ -162,20 +164,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 .
@@ -188,5 +190,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.0-1
- Package Spec generated
diff --git a/sources b/sources
index 022c987..31a8cf7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e82d48d2664525aa8281466340c471c0 car-connector-framework-3.0.2.tar.gz
+07a1545d6a34394ad53353335a74faf2 car-connector-framework-4.0.0.tar.gz