diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-08 04:06:30 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-08 04:06:30 +0000 |
commit | 37315912a5ddb5b79dbf2bedf2f429381a94dfc5 (patch) | |
tree | 6e42deabe7eaee7567b1fe45df4c4f2bf4ddeaab | |
parent | d97e33c9221b5d6a9444495f35347328a0f4ac1b (diff) |
automatic import of python-auth-credential
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-auth-credential.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/auth.credential-1.1.tar.gz diff --git a/python-auth-credential.spec b/python-auth-credential.spec new file mode 100644 index 0000000..b6a7c97 --- /dev/null +++ b/python-auth-credential.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-auth.credential +Version: 1.1 +Release: 1 +Summary: Credential abstraction +License: ASL 2.0 +URL: https://github.com/cern-mig/python-auth-credential +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6b/9e/719446eb74e8a0a4287ca2f244433961588cec18284193eea4716527987c/auth.credential-1.1.tar.gz +BuildArch: noarch + + +%description +Credential abstraction. + +%package -n python3-auth.credential +Summary: Credential abstraction +Provides: python-auth.credential +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-auth.credential +Credential abstraction. + +%package help +Summary: Development documents and examples for auth.credential +Provides: python3-auth.credential-doc +%description help +Credential abstraction. + +%prep +%autosetup -n auth.credential-1.1 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +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 +fi +if [ -d usr/lib64 ]; then + 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 +fi +if [ -d usr/sbin ]; then + 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 +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-auth.credential -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Mar 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1-1 +- Package Spec generated @@ -0,0 +1 @@ +36cb2b881c6c27fad6ca071b7ae0a3f1 auth.credential-1.1.tar.gz |