summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-snowflake-ingest.spec113
-rw-r--r--sources1
3 files changed, 115 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9bade2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/snowflake_ingest-1.0.5.tar.gz
diff --git a/python-snowflake-ingest.spec b/python-snowflake-ingest.spec
new file mode 100644
index 0000000..08aefdf
--- /dev/null
+++ b/python-snowflake-ingest.spec
@@ -0,0 +1,113 @@
+%global _empty_manifest_terminate_build 0
+Name: python-snowflake-ingest
+Version: 1.0.5
+Release: 1
+Summary: Official SnowflakeDB File Ingest SDK
+License: Apache
+URL: https://www.snowflake.net
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1f/87/d0d2d4714c3722509a01d4e7fd4ea0de4e15d44459fdbcc0a3e790bc98bd/snowflake_ingest-1.0.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-cryptography
+Requires: python3-furl
+Requires: python3-pyjwt
+Requires: python3-requests
+Requires: python3-snowflake-connector-python
+
+%description
+- v1.0.4 (May 11, 2021)
+ - Support a special account name style.
+- v1.0.3 (January 11, 2021)
+ - Use older version of pyJwt by pinning the version(<2.0.0)
+- v1.0.2 (March 09, 2020)
+ - Stop logging JWT token
+- v1.0.1 (November 08, 2019)
+ - Replaced Botocore's vendored requests with standalone requests
+- v1.0.0 (September 19, 2018)
+ - Fix typing package issue in python 3.5.0 and 3.5.1
+ - Support key rotation in key pair authentication
+- v0.9.1 (November 9, 2017)
+ - Public preview release
+
+%package -n python3-snowflake-ingest
+Summary: Official SnowflakeDB File Ingest SDK
+Provides: python-snowflake-ingest
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-snowflake-ingest
+- v1.0.4 (May 11, 2021)
+ - Support a special account name style.
+- v1.0.3 (January 11, 2021)
+ - Use older version of pyJwt by pinning the version(<2.0.0)
+- v1.0.2 (March 09, 2020)
+ - Stop logging JWT token
+- v1.0.1 (November 08, 2019)
+ - Replaced Botocore's vendored requests with standalone requests
+- v1.0.0 (September 19, 2018)
+ - Fix typing package issue in python 3.5.0 and 3.5.1
+ - Support key rotation in key pair authentication
+- v0.9.1 (November 9, 2017)
+ - Public preview release
+
+%package help
+Summary: Development documents and examples for snowflake-ingest
+Provides: python3-snowflake-ingest-doc
+%description help
+- v1.0.4 (May 11, 2021)
+ - Support a special account name style.
+- v1.0.3 (January 11, 2021)
+ - Use older version of pyJwt by pinning the version(<2.0.0)
+- v1.0.2 (March 09, 2020)
+ - Stop logging JWT token
+- v1.0.1 (November 08, 2019)
+ - Replaced Botocore's vendored requests with standalone requests
+- v1.0.0 (September 19, 2018)
+ - Fix typing package issue in python 3.5.0 and 3.5.1
+ - Support key rotation in key pair authentication
+- v0.9.1 (November 9, 2017)
+ - Public preview release
+
+%prep
+%autosetup -n snowflake-ingest-1.0.5
+
+%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-snowflake-ingest -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..846aa52
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ad416024ca0a3073c76cf3add371e61f snowflake_ingest-1.0.5.tar.gz