diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 21:47:23 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 21:47:23 +0000 |
commit | f55e98483edad7bb2b577d91b8674c44788aad5c (patch) | |
tree | 4e0d89954edb121e07f008114dcb8d24f590f823 | |
parent | a25291507252af00207a76a09fc143d4d3bf3f0e (diff) |
automatic import of python-instagram-scraper
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-instagram-scraper.spec | 78 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 80 insertions, 0 deletions
@@ -0,0 +1 @@ +/instagram-scraper-66.0.2.tar.gz diff --git a/python-instagram-scraper.spec b/python-instagram-scraper.spec new file mode 100644 index 0000000..e8d8ef0 --- /dev/null +++ b/python-instagram-scraper.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +Name: python-instagram-scraper +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.nju.edu.cn/pypi/web/packages/36/bb/a289eadf23960b16a2348b5509903381a6b920946830e1f522ac671dd3c5/instagram-scraper-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-instagram-scraper +Summary: A package to prevent Dependency Confusion attacks against Yandex. +Provides: python-instagram-scraper +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-instagram-scraper +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 instagram-scraper +Provides: python3-instagram-scraper-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 instagram-scraper-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-instagram-scraper -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 66.0.2-1 +- Package Spec generated @@ -0,0 +1 @@ +bae21e96fa795e052a9bc86d9a0a525d instagram-scraper-66.0.2.tar.gz |