summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 05:40:06 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 05:40:06 +0000
commiteb12d467d7c1a963a589fedfdfa7d0f7e30b467b (patch)
treebd46e3a9459af478f496449bc2f9824f22955021
parent167e162c0983213f4ada1806dd8fc76039658b1e (diff)
automatic import of python-selenium2mysqlopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-selenium2mysql.spec78
-rw-r--r--sources1
3 files changed, 80 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..39eb310 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/selenium2mysql-66.0.2.tar.gz
diff --git a/python-selenium2mysql.spec b/python-selenium2mysql.spec
new file mode 100644
index 0000000..4270e22
--- /dev/null
+++ b/python-selenium2mysql.spec
@@ -0,0 +1,78 @@
+%global _empty_manifest_terminate_build 0
+Name: python-selenium2mysql
+Version: 66.0.2
+Release: 1
+Summary: A package to prevent Dependency Confusion attacks against Yandex.
+License: None
+URL: https://ya.ru
+Source0: https://mirrors.aliyun.com/pypi/web/packages/fc/d4/d7a3d40bc66d3aed3ea7e8ddbdb08378ad9f4ab032c12d2c41ec2b5df5c9/selenium2mysql-66.0.2.tar.gz
+BuildArch: noarch
+
+
+%description
+This is a security placeholder package.
+If you want to claim this name for legitimate purposes,
+please contact us at security@yandex-team.ru or pypi-security@yandex-team.ru
+
+%package -n python3-selenium2mysql
+Summary: A package to prevent Dependency Confusion attacks against Yandex.
+Provides: python-selenium2mysql
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-selenium2mysql
+This is a security placeholder package.
+If you want to claim this name for legitimate purposes,
+please contact us at security@yandex-team.ru or pypi-security@yandex-team.ru
+
+%package help
+Summary: Development documents and examples for selenium2mysql
+Provides: python3-selenium2mysql-doc
+%description help
+This is a security placeholder package.
+If you want to claim this name for legitimate purposes,
+please contact us at security@yandex-team.ru or pypi-security@yandex-team.ru
+
+%prep
+%autosetup -n selenium2mysql-66.0.2
+
+%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-selenium2mysql -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 66.0.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f867cf6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b6e3d32cb6c2fce5edb1c4908d527cf0 selenium2mysql-66.0.2.tar.gz