summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 08:33:22 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 08:33:22 +0000
commitb7f901234a15ffa87f9647635e0c842a3a8fa5f2 (patch)
treef9b83835b67b28d7d4b634ece1c0a54de2035b9c
parent33ea7e18f9663747547123610012f304a5768595 (diff)
automatic import of python-opentracing-utilsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-opentracing-utils.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..eeea3ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/opentracing-utils-0.23.0.tar.gz
diff --git a/python-opentracing-utils.spec b/python-opentracing-utils.spec
new file mode 100644
index 0000000..b3885ac
--- /dev/null
+++ b/python-opentracing-utils.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-opentracing-utils
+Version: 0.23.0
+Release: 1
+Summary: OpenTracing utilities library
+License: The MIT License (MIT)
+URL: https://github.com/zalando-zmon/opentracing-utils
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a6/44/454459a5dcdd260973317f1393f1b2be16e046a84b8407a20025f48efb34/opentracing-utils-0.23.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-future
+Requires: python3-opentracing
+
+%description
+
+
+%package -n python3-opentracing-utils
+Summary: OpenTracing utilities library
+Provides: python-opentracing-utils
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-opentracing-utils
+
+
+%package help
+Summary: Development documents and examples for opentracing-utils
+Provides: python3-opentracing-utils-doc
+%description help
+
+
+%prep
+%autosetup -n opentracing-utils-0.23.0
+
+%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-opentracing-utils -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.23.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2b0a389
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+df90ece93e7e54f43a7c45d153562c29 opentracing-utils-0.23.0.tar.gz