diff --git a/selenium-4.29.0.tar.gz b/selenium-4.29.0.tar.gz deleted file mode 100644 index 667b4bd6674319dec496cf411b3a1e3f2d3b0a1e..0000000000000000000000000000000000000000 Binary files a/selenium-4.29.0.tar.gz and /dev/null differ diff --git a/selenium-4.30.0.tar.gz b/selenium-4.30.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..528000db4c1bc8b2c13eb2cfd9b6f45a746f9b6c Binary files /dev/null and b/selenium-4.30.0.tar.gz differ diff --git a/selenium.spec b/selenium.spec index ec175a267d922774c51b3bbf2198e34f64cd0e2f..908eb03b6a41b18481de16436e099f8a56d4ec03 100644 --- a/selenium.spec +++ b/selenium.spec @@ -4,12 +4,12 @@ WebDriver.The selenium package is used to automate web browser interaction from \ Python. Name: python-selenium -Version: 4.29.0 +Version: 4.30.0 Release: 1 Summary: Python bindings for Selenium License: Apache-2.0 URL: https://github.com/SeleniumHQ/selenium/ -Source0: %{url}/archive/refs/tags/selenium-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/70/f8/12e5c86f5d4b26758151a2145cb0909d2b811a3ac846b645dd7c63023543/selenium-4.30.0.tar.gz %description %{common_desc} @@ -40,18 +40,12 @@ Provides: python3-selenium-doc %{common_desc} %prep -%autosetup -n selenium-selenium-%{version} -sed -i 's/~=/>=/g' py/pyproject.toml -rm -rf py/selenium/webdriver/firefox/x86/x_ignore_nofocus.so -rm -rf py/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so +%autosetup -n selenium-%{version} %build -cd py %pyproject_build - %install -cd py %pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi @@ -59,26 +53,35 @@ 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} +touch filelist.lst +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 + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd +mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%check -cd py -%pytest - -%files -n python3-selenium -%license LICENSE -%{python3_sitelib}/selenium -%{python3_sitelib}/selenium-*.dist-info/ +%files -n python3-selenium -f filelist.lst +%{python3_sitelib}/* -%files help -f py/doclist.lst +%files help -f doclist.lst %{_docdir}/* %changelog +* Wed Nov 12 2025 liutao - 4.30.0-1 +- Update package to version 4.30.0 +- [rb] Fix "no anonymous block parameter" in ruby + * Mon Mar 17 2025 Dongxing Wang - 4.29.0-1 - Upgrade package to version 4.29.0