Package python3-module-selenium: Specfile
%define _unpackaged_files_terminate_build 1 %define oname selenium Name: python3-module-%oname Version: 3.0.2 Release: alt3 Summary: Python bindings for Selenium License: ASL Group: Development/Python3 Url: https://pypi.python.org/pypi/selenium/ Source0: https://pypi.python.org/packages/0c/42/20c235e604bf736bc970c1275a78c4ea28c6453a0934002f95df9c49dad0/%{oname}-%{version}.tar.gz Patch: selenium-use-without-bundled-libs.patch BuildRequires(pre): rpm-build-python3 %description Python language bindings for Selenium WebDriver. The selenium package is used automate web browser interaction from Python. %prep %setup -q -n %{oname}-%{version} %patch -p1 %build %python3_build_debug %install %python3_install %if "%_libexecdir" != "%_libdir" mv %buildroot%_libexecdir %buildroot%_libdir %endif find %buildroot -type f -name '*.so' -exec rm -f '{}' + %check %__python3 setup.py test %files %python3_sitelibdir/* %changelog * Mon Feb 10 2020 Andrey Bychkov <mrdrew@altlinux.org> 3.0.2-alt3 - Build for python2 disabled. * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 3.0.2-alt2.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Mon Jun 19 2017 Lenar Shakirov <snejok@altlinux.ru> 3.0.2-alt2 - selenium-use-without-bundled-libs.patch added * Wed Jan 11 2017 Igor Vlasenko <viy@altlinux.ru> 3.0.2-alt1 - automated PyPI update * Tue May 24 2016 Ivan Zakharyaschev <imz@altlinux.org> 2.47.0-alt1.1.1 - (AUTO) subst_x86_64. * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 2.47.0-alt1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Fri Jul 31 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.47.0-alt1 - Version 2.47.0 * Tue Nov 11 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.44.0-alt1 - Version 2.44.0 * Mon Oct 13 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.43.0-alt1 - Initial build for Sisyphus |