Blame SPECS/python-selenium.spec

1f2622
%global upstream_name selenium
1f2622
1f2622
Name:          python-%{upstream_name}
1f2622
Version:       3.14.0
1f2622
Release:       5%{?dist}
1f2622
Summary:       Python bindings for Selenium
1f2622
License:       ASL 2.0
1f2622
URL:           http://docs.seleniumhq.org/
1f2622
Source0:       https://files.pythonhosted.org/packages/source/s/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
1f2622
1f2622
BuildArch:     noarch
1f2622
1f2622
Patch1:        selenium-use-without-bundled-libs.patch
1f2622
1f2622
%description
1f2622
The selenium package is used automate web browser interaction from Python.
1f2622
1f2622
Several browsers/drivers are supported (Firefox, Chrome, Internet Explorer,
1f2622
PhantomJS), as well as the Remote protocol.
1f2622
1f2622
1f2622
%package -n python3-%{upstream_name}
1f2622
Summary:       Python bindings for Selenium
1f2622
%{?python_provide:%python_provide python3-%{upstream_name}}
1f2622
1f2622
BuildRequires: python3-devel
1f2622
BuildRequires: python3-setuptools
1f2622
Requires:      python3-rdflib
1f2622
BuildArch:     noarch
1f2622
1f2622
%description -n python3-%{upstream_name}
1f2622
The selenium package is used automate web browser interaction from Python.
1f2622
1f2622
Several browsers/drivers are supported (Firefox, Chrome, Internet Explorer,
1f2622
PhantomJS), as well as the Remote protocol.
1f2622
1f2622
%prep
1f2622
%setup -qn %{upstream_name}-%{version}
1f2622
rm -r %{upstream_name}.egg-info
1f2622
1f2622
find . -type f -name "*.py" -exec sed -i '1{/^#!/d;}' {} \;
1f2622
1f2622
%patch1 -p2
1f2622
1f2622
%build
1f2622
%py3_build
1f2622
1f2622
%install
1f2622
%py3_install
1f2622
rm -f %{buildroot}%{python3_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so
1f2622
rm -f %{buildroot}%{python3_sitelib}/selenium/webdriver/firefox/x86/x_ignore_nofocus.so
1f2622
1f2622
%files -n python3-%{upstream_name}
1f2622
%{python3_sitelib}/%{upstream_name}*
1f2622
%doc README.rst
1f2622
1f2622
%changelog
1f2622
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.14.0-5
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1f2622
1f2622
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.14.0-4
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1f2622
1f2622
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 3.14.0-3
1f2622
- Rebuilt for Python 3.9
1f2622
1f2622
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.14.0-2
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1f2622
1f2622
* Tue Jan 07 2020 Matthias Runge <mrunge@redhat.com> - 3.14.0-1
1f2622
- update to 3.14 (rhbz#1595006)
1f2622
1f2622
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-8
1f2622
- Rebuilt for Python 3.8.0rc1 (#1748018)
1f2622
1f2622
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-7
1f2622
- Rebuilt for Python 3.8
1f2622
1f2622
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-6
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1f2622
1f2622
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-5
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1f2622
1f2622
* Fri Jan 04 2019 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-4
1f2622
- Remove python2 subpackage
1f2622
1f2622
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-3
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1f2622
1f2622
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 3.12.0-2
1f2622
- Rebuilt for Python 3.7
1f2622
1f2622
* Wed May 09 2018 Matthias Runge <mrunge@redhat.com> - 3.12.0-1
1f2622
- update to 3.12.0 (rhbz#1431116)
1f2622
1f2622
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.7.0-4
1f2622
- Update Python 2 dependency declarations to new packaging standards
1f2622
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
1f2622
1f2622
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1f2622
1f2622
* Tue Jan 16 2018 Troy Dawson <tdawson@redhat.com> - 3.7.0-2
1f2622
- Update conditionals
1f2622
1f2622
* Mon Nov 27 2017 Lumír Balhar <lbalhar@redhat.com> - 3.7.0-1
1f2622
- New upstream version
1f2622
1f2622
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.53.6-5
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1f2622
1f2622
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.53.6-4
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1f2622
1f2622
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.53.6-3
1f2622
- Rebuild for Python 3.6
1f2622
1f2622
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.53.6-2
1f2622
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
1f2622
1f2622
* Mon Jul 04 2016 Matthias Runge <mrunge@redhat.com> - 2.53.6-1
1f2622
- upstream version 2.53.6
1f2622
1f2622
* Wed Jun 15 2016 Matthias Runge <mrunge@redhat.com> - 2.53.5-1
1f2622
- upstream version 2.53.5
1f2622
1f2622
* Fri Jun 10 2016 Matthias Runge <mrunge@redhat.com> - 2.53.4-1
1f2622
- upstream version 2.53.4
1f2622
1f2622
* Wed May 18 2016 Matthias Runge <mrunge@redhat.com> - 2.53.2-1
1f2622
- update to 2.53.2
1f2622
1f2622
* Fri Feb 12 2016 Matthias Runge <mrunge@redhat.com> - 2.52.0-1
1f2622
- update to 2.52.0
1f2622
1f2622
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.49.0-2
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1f2622
1f2622
* Mon Jan 18 2016 Matthias Runge <mrunge@redhat.com> - 2.49.0-1
1f2622
- update to 2.49.0 (rhbz#1298407)
1f2622
- spec cleanup, add py2 subpackage
1f2622
1f2622
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 2.48.0-2
1f2622
- Rebuilt for Python3.5 rebuild
1f2622
1f2622
* Wed Oct 14 2015 Dhiru Kholia <dhiru@openwall.com> - 2.48.0-1
1f2622
- update to 2.48.0
1f2622
1f2622
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.45.0-2
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1f2622
1f2622
* Mon Mar 02 2015 Matthias Runge <mrunge@redhat.com> - 2.45.0-1
1f2622
- update to 2.45.0 to fix compat issues with Firefox 36 (rhbz#1196922)
1f2622
1f2622
* Mon Feb 23 2015 Matthias Runge <mrunge@redhat.com> - 2.44.0-1
1f2622
- update to 2.44.0
1f2622
1f2622
* Mon Oct 20 2014 Matthias Runge <mrunge@redhat.com> - 2.43.0-1
1f2622
- update to 2.43.0
1f2622
- correct deps for py3 version (rhbz#1116470)
1f2622
1f2622
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.42.1-3
1f2622
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1f2622
1f2622
* Fri May 30 2014 Matthias Runge <mrunge@redhat.com> - 2.42.1-1
1f2622
- rebuilt for python3.4 feature
1f2622
- update to 2.42.1
1f2622
- minor specs cleanup
1f2622
1f2622
* Fri Apr 04 2014 Dhiru Kholia <dhiru@openwall.com> - 2.41.0-1
1f2622
- update to new upstream version
1f2622
1f2622
* Thu Feb 27 2014 Dhiru Kholia <dhiru@openwall.com> - 2.40.0-2
1f2622
- fixed shebangs (BZ #1070125)
1f2622
1f2622
* Wed Feb 26 2014 Dhiru Kholia <dhiru@openwall.com> - 2.40.0-1
1f2622
- initial version