diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:09:19 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 04:09:19 +0000 |
| commit | 3f2d2a0ebeec6de7e797e20207cd9f01924d2fd4 (patch) | |
| tree | 98ab7a9f13cdad2867f9a0980241bf89243c7404 | |
| parent | 546ea367f9749dc8888d1130e78be250ab2faabc (diff) | |
automatic import of python-dbt-cratedbopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-dbt-cratedb.spec | 78 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 80 insertions, 0 deletions
@@ -0,0 +1 @@ +/dbt-cratedb-1.0.3.0.tar.gz diff --git a/python-dbt-cratedb.spec b/python-dbt-cratedb.spec new file mode 100644 index 0000000..cc862f7 --- /dev/null +++ b/python-dbt-cratedb.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dbt-cratedb +Version: 1.0.3.0 +Release: 1 +Summary: The crate adpter plugin for dbt (data build tool) +License: Apache Software License +URL: https://pypi.org/project/dbt-cratedb/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/31/1e/1ab638f27515b06a2217a7ed27e0540bdb53a830994612357dff366e4b1e/dbt-cratedb-1.0.3.0.tar.gz +BuildArch: noarch + + +%description +The crate adpter plugin for dbt (data build tool) + + + +%package -n python3-dbt-cratedb +Summary: The crate adpter plugin for dbt (data build tool) +Provides: python-dbt-cratedb +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dbt-cratedb +The crate adpter plugin for dbt (data build tool) + + + +%package help +Summary: Development documents and examples for dbt-cratedb +Provides: python3-dbt-cratedb-doc +%description help +The crate adpter plugin for dbt (data build tool) + + + +%prep +%autosetup -n dbt-cratedb-1.0.3.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-dbt-cratedb -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.3.0-1 +- Package Spec generated @@ -0,0 +1 @@ +44bd07bef6af2e3c9b2abaed90b55842 dbt-cratedb-1.0.3.0.tar.gz |
