forked from pool/perl-Selenium-Remote-Driver
- updated to 1.02
see /usr/share/doc/packages/perl-Selenium-Remote-Driver/Changes
1.02 12-13-2016
(bundled firefox driver version: 3.0.0b2)
[NEW FEATURES]
- #288: @vkatsikaris: Add context endpoints for Firefox
[BUG FIXES]
- #279, #281: @richi235: Fix errors in IDE plugin script generator
- #291, #292, #299: Handle spec element key format
1.00 09-01-2016
(bundled firefox driver version: 3.0.0b2)
[BREAKING]
- For users of Selenium::Firefox, FF support defaults to v48;
if you have FF47 installed, your existing scripts will require
modification. See docs in Selenium::Firefox for more info.
[NEW FEATURES]
- #271: Support geckodriver & FF48
- #260: Update firefox artifacts to 3.0.0b2 to support FF47
- #259: Allow users to pass in existing FF profile dir
- #276: Simplify recordings to enable easier releases
[BUG FIXES]
- Encode Firefox profiles without newlines for Sel 3.0 compatibility
- #272: Remove unnecessary sleeps for successful waits
- #270: Fix bug in find_child_element default finder
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Selenium-Remote-Driver?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
0bdca4130f
commit
ee7d11ce49
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Selenium-Remote-Driver
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,45 +17,48 @@
|
||||
|
||||
|
||||
Name: perl-Selenium-Remote-Driver
|
||||
Version: 0.24
|
||||
Version: 1.02
|
||||
Release: 0
|
||||
%define cpan_name Selenium-Remote-Driver
|
||||
Summary: Perl Client for Selenium Remote Driver
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Selenium-Remote-Driver/
|
||||
Source: http://www.cpan.org/authors/id/G/GE/GEMPESAW/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
Source0: http://www.cpan.org/authors/id/G/GE/GEMPESAW/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
# MANUAL
|
||||
#BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Archive::Extract)
|
||||
BuildRequires: perl(Archive::Zip)
|
||||
BuildRequires: perl(File::Which)
|
||||
BuildRequires: perl(HTTP::Headers)
|
||||
BuildRequires: perl(HTTP::Request)
|
||||
BuildRequires: perl(HTTP::Response)
|
||||
BuildRequires: perl(IO::Compress::Zip)
|
||||
BuildRequires: perl(IO::String)
|
||||
BuildRequires: perl(IO::Uncompress::Unzip) >= 2.030
|
||||
BuildRequires: perl(JSON)
|
||||
BuildRequires: perl(LWP::Simple)
|
||||
BuildRequires: perl(LWP::UserAgent)
|
||||
BuildRequires: perl(List::MoreUtils)
|
||||
BuildRequires: perl(Moo) >= 1.005
|
||||
BuildRequires: perl(Moo::Role)
|
||||
BuildRequires: perl(Sub::Install)
|
||||
BuildRequires: perl(Test::Exception)
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::LWP::UserAgent)
|
||||
BuildRequires: perl(Test::LongString)
|
||||
BuildRequires: perl(Test::Time)
|
||||
BuildRequires: perl(Test::Warn)
|
||||
BuildRequires: perl(Time::Mock)
|
||||
BuildRequires: perl(Try::Tiny)
|
||||
BuildRequires: perl(XML::Simple)
|
||||
BuildRequires: perl(namespace::clean)
|
||||
Requires: perl(Archive::Extract)
|
||||
Requires: perl(Archive::Zip)
|
||||
Requires: perl(File::Which)
|
||||
Requires: perl(HTTP::Headers)
|
||||
Requires: perl(HTTP::Request)
|
||||
Requires: perl(HTTP::Response)
|
||||
Requires: perl(IO::Compress::Zip)
|
||||
Requires: perl(IO::String)
|
||||
Requires: perl(IO::Uncompress::Unzip) >= 2.030
|
||||
Requires: perl(JSON)
|
||||
Requires: perl(LWP::UserAgent)
|
||||
Requires: perl(List::MoreUtils)
|
||||
@@ -64,6 +67,7 @@ Requires: perl(Moo::Role)
|
||||
Requires: perl(Sub::Install)
|
||||
Requires: perl(Test::LongString)
|
||||
Requires: perl(Try::Tiny)
|
||||
Requires: perl(XML::Simple)
|
||||
Requires: perl(namespace::clean)
|
||||
%{perl_requires}
|
||||
|
||||
@@ -74,7 +78,7 @@ mainstream JavaScript-enabled browser. This module is an implementation of
|
||||
the client for the Remote driver that Selenium provides. You can find
|
||||
bindings for other languages at this location:
|
||||
|
||||
the http://code.google.com/p/selenium/ manpage
|
||||
http://code.google.com/p/selenium/
|
||||
|
||||
This module sends commands directly to the Server using HTTP. Using this
|
||||
module together with the Selenium Server, you can automatically control any
|
||||
@@ -83,10 +87,13 @@ and started the Selenium Server (Selenium Server is a Java application).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
# MANUAL BEGIN
|
||||
sed -i -e 's,!/bin/env perl,/usr/bin/perl,' driver-example.pl
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@@ -95,10 +102,20 @@ find . -type f -print0 | xargs -0 chmod 644
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
# MANUAL BEGIN
|
||||
%ifnarch %ix86
|
||||
rm -r %{buildroot}/usr/lib/perl5/vendor_perl/*/Selenium/Firefox/x86
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
rm %{buildroot}/usr/lib/perl5/vendor_perl/*/Selenium/Firefox/amd64/libibushandler.so
|
||||
%else
|
||||
rm -r %{buildroot}/usr/lib/perl5/vendor_perl/*/Selenium/Firefox/amd64
|
||||
%endif
|
||||
# MANUAL END
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes cpanfile ide-plugin.js README.md TAGS weaver.ini
|
||||
%doc Changes GPATH GRTAGS GTAGS ide-plugin.js README.md TAGS
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user