8
0

- 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:
Stephan Kulow
2017-01-09 12:06:31 +00:00
committed by Git OBS Bridge
parent 0bdca4130f
commit ee7d11ce49
5 changed files with 152 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c2de840f8ceca63bdfcb8b26cdd5caf1524b3740c51c6a8fd7af41ec0f9b9e2
size 6134616

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:feee1e9f2c80ccfb8b0d900b747c39774f47293da31cb2cbf7cb7c8c3fa50043
size 5028442

36
cpanspec.yml Normal file
View File

@@ -0,0 +1,36 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
post_prep: |-
sed -i -e 's,!/bin/env perl,/usr/bin/perl,' driver-example.pl
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
post_install: |-
%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
#license: SUSE-NonFree
skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,84 @@
-------------------------------------------------------------------
Mon Jan 9 11:14:52 UTC 2017 - coolo@suse.com
- 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
- #263, #275: Address various documentation issues
- #253: Fix error_handler being called incorrectly
0.2701 01-11-2016
(firefox driver version: 2.48.2)
[BUG FIXES]
- #239: Respect existing prefs when using custom profile with Selenium::Firefox
- #238: Update firefox driver extension to latest 2.48.2
- #21: Update docs about using child finders with xpath
0.27 08-30-2015
[NEW FEATURES]
- #219: Add `startup_timeout` to CanStartBinary role
- #211: @peroumal1: Document locator usage for Test::SRD functions
[BUG FIXES]
- #215: Replace Time::Mock with the more reliable & tested Test::Time
- #212: @peroumal1: Fix bug in find_no_element_ok
- #209: @peroumal1: Make error_handler catch non-webdriver exceptions in Test::SRD
- #222: Describe demolish/destroy behavior.
- #226: Allow local file URLs for PAC url
- Stop trying to do things during global destruction
0.26 05-16-2015
(selenium version: 2.45.0)
[NEW FEATURES]
- #203: Allow users to install a custom error handler
- #204: Implement action chains
[BUG FIXES]
- #147: Allow for inflation to a full Moose class
- #192: Stop assuming objects are around during global destruction
- #200: Fix undocumented upload_file endpoint bug for paths with ".."
- Refactor to remove some unnecessary dependencies
0.25 03-24-2015
(selenium version: 2.45.0)
[NEW FEATURES]
- #189 Start webdrivers directly, removing the need for the JRE. See
Selenium::Chrome, Selenium::Firefox, Selenium::PhantomJS.
[BUG FIXES]
- #194, #195: @teodesian, @jamadam: fix undocumented upload file behavior
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 8 15:16:07 UTC 2015 - lnussel@suse.de Wed Apr 8 15:16:07 UTC 2015 - lnussel@suse.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Selenium-Remote-Driver # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,45 +17,48 @@
Name: perl-Selenium-Remote-Driver Name: perl-Selenium-Remote-Driver
Version: 0.24 Version: 1.02
Release: 0 Release: 0
%define cpan_name Selenium-Remote-Driver %define cpan_name Selenium-Remote-Driver
Summary: Perl Client for Selenium Remote Driver Summary: Perl Client for Selenium Remote Driver
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Selenium-Remote-Driver/ Url: http://search.cpan.org/dist/Selenium-Remote-Driver/
Source: http://www.cpan.org/authors/id/G/GE/GEMPESAW/%{cpan_name}-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/G/GE/GEMPESAW/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch Source1: cpanspec.yml
# MANUAL
#BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Archive::Extract)
BuildRequires: perl(Archive::Zip) BuildRequires: perl(Archive::Zip)
BuildRequires: perl(File::Which)
BuildRequires: perl(HTTP::Headers) BuildRequires: perl(HTTP::Headers)
BuildRequires: perl(HTTP::Request) BuildRequires: perl(HTTP::Request)
BuildRequires: perl(HTTP::Response) 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(JSON)
BuildRequires: perl(LWP::Simple)
BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(List::MoreUtils) BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Moo) >= 1.005 BuildRequires: perl(Moo) >= 1.005
BuildRequires: perl(Moo::Role) BuildRequires: perl(Moo::Role)
BuildRequires: perl(Sub::Install) BuildRequires: perl(Sub::Install)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::LWP::UserAgent) BuildRequires: perl(Test::LWP::UserAgent)
BuildRequires: perl(Test::LongString) BuildRequires: perl(Test::LongString)
BuildRequires: perl(Test::Time)
BuildRequires: perl(Test::Warn) BuildRequires: perl(Test::Warn)
BuildRequires: perl(Time::Mock)
BuildRequires: perl(Try::Tiny) BuildRequires: perl(Try::Tiny)
BuildRequires: perl(XML::Simple)
BuildRequires: perl(namespace::clean) BuildRequires: perl(namespace::clean)
Requires: perl(Archive::Extract)
Requires: perl(Archive::Zip) Requires: perl(Archive::Zip)
Requires: perl(File::Which)
Requires: perl(HTTP::Headers) Requires: perl(HTTP::Headers)
Requires: perl(HTTP::Request) Requires: perl(HTTP::Request)
Requires: perl(HTTP::Response) 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(JSON)
Requires: perl(LWP::UserAgent) Requires: perl(LWP::UserAgent)
Requires: perl(List::MoreUtils) Requires: perl(List::MoreUtils)
@@ -64,6 +67,7 @@ Requires: perl(Moo::Role)
Requires: perl(Sub::Install) Requires: perl(Sub::Install)
Requires: perl(Test::LongString) Requires: perl(Test::LongString)
Requires: perl(Try::Tiny) Requires: perl(Try::Tiny)
Requires: perl(XML::Simple)
Requires: perl(namespace::clean) Requires: perl(namespace::clean)
%{perl_requires} %{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 the client for the Remote driver that Selenium provides. You can find
bindings for other languages at this location: 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 This module sends commands directly to the Server using HTTP. Using this
module together with the Selenium Server, you can automatically control any 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 %prep
%setup -q -n %{cpan_name}-%{version} %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 %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check %check
@@ -95,10 +102,20 @@ find . -type f -print0 | xargs -0 chmod 644
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %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 %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %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 %changelog