Group :: Development/Python3
RPM: python3-module-selenium
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname selenium
Name: python3-module-%oname
Version: 3.14.1
Release: alt1
Summary: Python bindings for Selenium
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.python.org/pypi/selenium/
Source0: %name-%version.tar
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
%autopatch -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
%files
%python3_sitelibdir/%oname/
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/
%changelog
…
Todas as alterações você pod ver aqui
%define oname selenium
Name: python3-module-%oname
Version: 3.14.1
Release: alt1
Summary: Python bindings for Selenium
License: Apache-2.0
Group: Development/Python3
Url: https://pypi.python.org/pypi/selenium/
Source0: %name-%version.tar
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
%autopatch -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
%files
%python3_sitelibdir/%oname/
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/
%changelog
…
Todas as alterações você pod ver aqui