summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 15:56:26 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 15:56:26 +0000
commit37ff42a7e65a7798673b3f874ce17e96ba96c83b (patch)
treebc11bea67ec410572a81c2d993861b7d5e9410bd
parent93cb5c31d4bd52f272c9aaa9aaff7d6e8cb99123 (diff)
automatic import of python-aad-token-verifyopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-aad-token-verify.spec24
-rw-r--r--sources2
3 files changed, 11 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index a315943..cd8c944 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/aad-token-verify-0.1.4.tar.gz
+/aad-token-verify-0.2.0.tar.gz
diff --git a/python-aad-token-verify.spec b/python-aad-token-verify.spec
index 4143b30..05eca87 100644
--- a/python-aad-token-verify.spec
+++ b/python-aad-token-verify.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-aad-token-verify
-Version: 0.1.4
+Version: 0.2.0
Release: 1
Summary: A python utility library to verify an Azure Active Directory OAuth token
License: MIT
URL: https://github.com/GeneralMills/azure-ad-token-verify
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c5/66/0e9689e40a901a4f97bf7f80a17a2002b9c5f0a8c8f391587a9cf6de2df9/aad-token-verify-0.1.4.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/55/44/bfb8208cdc163da2deb00921231e089a9136c4bdc693f2417a0010ce4663/aad-token-verify-0.2.0.tar.gz
BuildArch: noarch
Requires: python3-requests
@@ -100,8 +100,6 @@ async def secured_endpoint(user=Depends(get_current_user)):
Feel free to submit issues and pull requests!
-
-
%package -n python3-aad-token-verify
Summary: A python utility library to verify an Azure Active Directory OAuth token
Provides: python-aad-token-verify
@@ -195,8 +193,6 @@ async def secured_endpoint(user=Depends(get_current_user)):
Feel free to submit issues and pull requests!
-
-
%package help
Summary: Development documents and examples for aad-token-verify
Provides: python3-aad-token-verify-doc
@@ -287,10 +283,8 @@ async def secured_endpoint(user=Depends(get_current_user)):
Feel free to submit issues and pull requests!
-
-
%prep
-%autosetup -n aad-token-verify-0.1.4
+%autosetup -n aad-token-verify-0.2.0
%build
%py3_build
@@ -304,20 +298,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 .
@@ -330,5 +324,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.4-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
- Package Spec generated
diff --git a/sources b/sources
index d0e4c9c..6a800b6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-40df38e8680b5255671386128d43dbd3 aad-token-verify-0.1.4.tar.gz
+e892de16471a999f0f7bb6e151a2a06c aad-token-verify-0.2.0.tar.gz