Init package with version 5.1.0

This commit is contained in:
desert-sailor 2023-11-06 14:40:26 +08:00
parent 120fea23a0
commit 8e2a3db7dd
2 changed files with 63 additions and 0 deletions

63
python-selenium-wire.spec Normal file
View File

@ -0,0 +1,63 @@
%global _empty_manifest_terminate_build 0
Name: python-selenium-wire
Version: 5.1.0
Release: 1
Summary: Extends Selenium to give you the ability to inspect requests made by the browser.
License: MIT
URL: https://github.com/wkeeling/selenium-wire
Source0: https://files.pythonhosted.org/packages/9f/00/60b39e8a1efe6919d1390f07d84a3eeba4aeae5b829f2f848344c798f783/selenium-wire-5.1.0.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
Extends Selenium to give you the ability to inspect requests made by the browser.
%package -n python3-selenium-wire
Summary: Extends Selenium to give you the ability to inspect requests made by the browser.
Provides: python-selenium-wire
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-hatchling
%description -n python3-selenium-wire
Extends Selenium to give you the ability to inspect requests made by the browser.
%package help
Summary: Development documents and examples for selenium wire.
Provides: python3-selenium-wire-doc
%description help
Development documents and examples for selenium wire.
%prep
%autosetup -n selenium-wire-%{version}
%build
%pyproject_build
%install
%pyproject_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
%files -n python3-selenium-wire
%doc README.rst AUTHORS.rst CONTRIBUTING.rst
%license LICENSE
%{python3_sitelib}/seleniumwire
%{python3_sitelib}/selenium_wire*.dist-info/
%files help
%{_docdir}/*
%changelog
* Mon Nov 6 2023 Dongxing Wang <dxwangk@isoftstone.com> - 5.1.0-1
- Init package.

BIN
selenium-wire-5.1.0.tar.gz Normal file

Binary file not shown.