From 551df8eea39082227b795c32a56d3d5ba0859ff3 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Thu, 1 Apr 2010 17:51:17 +0000 Subject: [PATCH 01/12] - Update to a later snapshot - Add maven depmap --- selenium-core.spec | 23 +++++++++++++++++++++-- sources | 2 +- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/selenium-core.spec b/selenium-core.spec index afa3780..cf2f50c 100644 --- a/selenium-core.spec +++ b/selenium-core.spec @@ -1,6 +1,6 @@ Name: selenium-core Version: 1.0.2 -Release: 0.2.20091211svn%{?dist} +Release: 0.3.20100324svn%{?dist} Summary: A DHTML test execution framework Group: Development/Tools @@ -11,7 +11,7 @@ Group: Development/Tools # strands: MPLv1.1 or GPLv2+ or LGPLv2+ License: LGPLv2 and MIT and ASL 2.0 and GPLv2+ and (MPLv1.1 or GPLv2+ or LGPLv2+) URL: http://seleniumhq.org/projects/core/ -# svn export -r7846 http://selenium.googlecode.com/svn/selenium-core/trunk@7846 selenium-core +# svn export -r8566 http://selenium.googlecode.com/svn/selenium-core/trunk@8566 selenium-core # tar czf selenium-core.tar.gz selenium-core Source0: selenium-core.tar.gz Patch0: selenium-core-1.0.2-no-test-deps.patch @@ -64,26 +64,45 @@ mvn-jpp install \ %install rm -rf $RPM_BUILD_ROOT +# JAR files install -d $RPM_BUILD_ROOT%{_javadir} install -p -m644 target/%{name}-%{version}*.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar +# Maven depmap +install -d $RPM_BUILD_ROOT%{_datadir}/maven2/poms +install -p -m644 pom.xml $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-selenium-core.pom +%add_to_maven_depmap org.seleniumhq.selenium.core %{name} %{version} JPP %{name} + %clean rm -rf $RPM_BUILD_ROOT +%post +%update_maven_depmap + + +%postun +%update_maven_depmap + %files %defattr(-,root,root,-) %{_javadir}/%{name}.jar %{_javadir}/%{name}-%{version}.jar +%{_mavendepmapfragdir} +%{_datadir}/maven2/poms/* # A couple of irrelevant licenses are included, yet ones # of bundled software aren't... %doc license/selenium_license.txt %changelog +* Thu Apr 01 2010 Lubomir Rintel (GoodData) - 1.0.2-0.3.20100324svn +- Update to a later snapshot +- Add maven depmap + * Wed Jan 06 2010 Lubomir Rintel (GoodData) - 1.0.2-0.2.20091211svn - Fix commons-logging dependency diff --git a/sources b/sources index 0392a82..8a7f080 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c0794935569d71ffd8605c6a02b1a548 selenium-core.tar.gz +db17f9c2fa27897a560bedc2e043dbea selenium-core.tar.gz From fb985b7316a50e16109f014536d0e232d258aef0 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Thu, 1 Apr 2010 19:35:17 +0000 Subject: [PATCH 02/12] A small file ownership fix --- selenium-core.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selenium-core.spec b/selenium-core.spec index cf2f50c..89f212a 100644 --- a/selenium-core.spec +++ b/selenium-core.spec @@ -91,7 +91,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %{_javadir}/%{name}.jar %{_javadir}/%{name}-%{version}.jar -%{_mavendepmapfragdir} +%{_mavendepmapfragdir}/* %{_datadir}/maven2/poms/* # A couple of irrelevant licenses are included, yet ones # of bundled software aren't... From 1da80019cff95d4d4582f48d7bdf2432c4332e03 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 20 Apr 2010 07:24:40 +0000 Subject: [PATCH 03/12] - Fill in version and revision (Jiri Kastner, #581756) --- selenium-core.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/selenium-core.spec b/selenium-core.spec index 89f212a..e9fbab0 100644 --- a/selenium-core.spec +++ b/selenium-core.spec @@ -1,6 +1,6 @@ Name: selenium-core Version: 1.0.2 -Release: 0.3.20100324svn%{?dist} +Release: 0.4.20100324svn%{?dist} Summary: A DHTML test execution framework Group: Development/Tools @@ -50,6 +50,12 @@ mode), but it also can be deployed on the desired application server. %build find -name '*.jar' -delete +# Fill in templates +# jar packaging somehow does not pick up what generate-resources +# generates +find -type f -print0 |xargs -0 sed -i \ + 's/@VERSION@/%{version}/g;s/@REVISION@/%{release}/g' + MAVEN_REPO_LOCAL=$PWD/.m2/repository rm -rf $MAVEN_REPO_LOCAL mkdir -p $MAVEN_REPO_LOCAL @@ -99,6 +105,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Apr 20 2010 Lubomir Rintel (GoodData) - 1.0.2-0.4.20100324svn +- Fill in version and revision (Jiri Kastner, #581756) + * Thu Apr 01 2010 Lubomir Rintel (GoodData) - 1.0.2-0.3.20100324svn - Update to a later snapshot - Add maven depmap From d4fcfaa0fafd11ee683d2a39d9ecb28d061989cb Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 20 Apr 2010 07:29:26 +0000 Subject: [PATCH 04/12] A tiny cosmetic change --- selenium-core.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selenium-core.spec b/selenium-core.spec index e9fbab0..44f45ba 100644 --- a/selenium-core.spec +++ b/selenium-core.spec @@ -78,7 +78,7 @@ ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar # Maven depmap install -d $RPM_BUILD_ROOT%{_datadir}/maven2/poms -install -p -m644 pom.xml $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-selenium-core.pom +install -p -m644 pom.xml $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-%{name}.pom %add_to_maven_depmap org.seleniumhq.selenium.core %{name} %{version} JPP %{name} From 1e4d570566e960d4bff88e29cff6c474f3e609d9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 12:20:54 +0000 Subject: [PATCH 05/12] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- 2 files changed, 21 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 943cc5f..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: selenium-core -# $Id$ -NAME := selenium-core -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) From 49957c9a272599d612f2b2a51d3fe5376fdf7a22 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sat, 11 Dec 2010 21:25:00 +0100 Subject: [PATCH 06/12] Fix build --- .gitignore | 1 + selenium-core-1.0.2-ant-trax.patch | 52 ++++++++++++++++++++++++++++++ selenium-core.spec | 7 +++- 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 selenium-core-1.0.2-ant-trax.patch diff --git a/.gitignore b/.gitignore index 624a79b..30aaf66 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ selenium-core.tar.gz +/selenium-core.tar.gz diff --git a/selenium-core-1.0.2-ant-trax.patch b/selenium-core-1.0.2-ant-trax.patch new file mode 100644 index 0000000..657c738 --- /dev/null +++ b/selenium-core-1.0.2-ant-trax.patch @@ -0,0 +1,52 @@ +From 96eb6692e7097c4a10932cb13c8e4dbdeba2d010 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Sat, 11 Dec 2010 21:13:41 +0100 +Subject: [PATCH] Get rid of ant-trax dependency + +--- + pom.xml | 15 --------------- + 1 files changed, 0 insertions(+), 15 deletions(-) + +diff --git a/pom.xml b/pom.xml +index 4b93f98..db24e30 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -127,11 +127,6 @@ + + + org.apache.ant +- ant-trax +- 1.7.1 +- +- +- org.apache.ant + ant-nodeps + 1.7.1 + +@@ -277,11 +272,6 @@ + + + org.apache.ant +- ant-trax +- 1.7.1 +- +- +- org.apache.ant + ant-junit + 1.7.1 + +@@ -341,11 +331,6 @@ + + + org.apache.ant +- ant-trax +- 1.7.1 +- +- +- org.apache.ant + ant-junit + 1.7.1 + +-- +1.7.3.3 + diff --git a/selenium-core.spec b/selenium-core.spec index 44f45ba..0960f40 100644 --- a/selenium-core.spec +++ b/selenium-core.spec @@ -1,6 +1,6 @@ Name: selenium-core Version: 1.0.2 -Release: 0.4.20100324svn%{?dist} +Release: 0.5.20100324svn%{?dist} Summary: A DHTML test execution framework Group: Development/Tools @@ -15,6 +15,7 @@ URL: http://seleniumhq.org/projects/core/ # tar czf selenium-core.tar.gz selenium-core Source0: selenium-core.tar.gz Patch0: selenium-core-1.0.2-no-test-deps.patch +Patch1: selenium-core-1.0.2-ant-trax.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: ant-junit @@ -45,6 +46,7 @@ mode), but it also can be deployed on the desired application server. %prep %setup -q -n %{name} %patch0 -p0 -b .no-test-deps +%patch1 -p1 -b .ant-trax %build @@ -105,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Dec 11 2010 Lubomir Rintel - 1.0.2-0.5.20100324svn +- Fix build + * Tue Apr 20 2010 Lubomir Rintel (GoodData) - 1.0.2-0.4.20100324svn - Fill in version and revision (Jiri Kastner, #581756) From c156ade412b16954bed540a0c711adecd53b3e45 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sat, 11 Dec 2010 21:47:12 +0100 Subject: [PATCH 07/12] Fix build --- selenium-core-1.0.2-svnversion.patch | 28 ++++++++++++++++++++++++++++ selenium-core.spec | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 selenium-core-1.0.2-svnversion.patch diff --git a/selenium-core-1.0.2-svnversion.patch b/selenium-core-1.0.2-svnversion.patch new file mode 100644 index 0000000..b91a730 --- /dev/null +++ b/selenium-core-1.0.2-svnversion.patch @@ -0,0 +1,28 @@ +From 29c92f2e8d4fd579ce1a1d89dc092d5a203ecab4 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Sat, 11 Dec 2010 21:41:55 +0100 +Subject: [PATCH] Do not require subversion + +--- + pom.xml | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/pom.xml b/pom.xml +index db24e30..f79d8d4 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -85,9 +85,9 @@ + generate-resources + + +- ++ + + + +-- +1.7.3.3 + diff --git a/selenium-core.spec b/selenium-core.spec index 0960f40..80adb73 100644 --- a/selenium-core.spec +++ b/selenium-core.spec @@ -16,6 +16,7 @@ URL: http://seleniumhq.org/projects/core/ Source0: selenium-core.tar.gz Patch0: selenium-core-1.0.2-no-test-deps.patch Patch1: selenium-core-1.0.2-ant-trax.patch +Patch2: selenium-core-1.0.2-svnversion.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: ant-junit @@ -47,6 +48,7 @@ mode), but it also can be deployed on the desired application server. %setup -q -n %{name} %patch0 -p0 -b .no-test-deps %patch1 -p1 -b .ant-trax +%patch2 -p1 -b .svnversion %build From 561aff83bd0cce4c9058bb142961a102c7290c24 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 9 Feb 2011 07:05:50 -0600 Subject: [PATCH 08/12] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- selenium-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/selenium-core.spec b/selenium-core.spec index 80adb73..b24563e 100644 --- a/selenium-core.spec +++ b/selenium-core.spec @@ -1,6 +1,6 @@ Name: selenium-core Version: 1.0.2 -Release: 0.5.20100324svn%{?dist} +Release: 0.6.20100324svn%{?dist} Summary: A DHTML test execution framework Group: Development/Tools @@ -109,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 09 2011 Fedora Release Engineering - 1.0.2-0.6.20100324svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Sat Dec 11 2010 Lubomir Rintel - 1.0.2-0.5.20100324svn - Fix build From 27595c02a0bc97e06bb5d22ab27fbe5513321ded Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 5 Apr 2011 17:22:38 +0200 Subject: [PATCH 09/12] Fix firefox4 --- selenium-core-1.0.2-ant-trax.patch | 52 ------------------------------ selenium-core-1.0.2-xray.patch | 36 +++++++++++++++++++++ selenium-core.spec | 14 +++++--- 3 files changed, 45 insertions(+), 57 deletions(-) delete mode 100644 selenium-core-1.0.2-ant-trax.patch create mode 100644 selenium-core-1.0.2-xray.patch diff --git a/selenium-core-1.0.2-ant-trax.patch b/selenium-core-1.0.2-ant-trax.patch deleted file mode 100644 index 657c738..0000000 --- a/selenium-core-1.0.2-ant-trax.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 96eb6692e7097c4a10932cb13c8e4dbdeba2d010 Mon Sep 17 00:00:00 2001 -From: Lubomir Rintel -Date: Sat, 11 Dec 2010 21:13:41 +0100 -Subject: [PATCH] Get rid of ant-trax dependency - ---- - pom.xml | 15 --------------- - 1 files changed, 0 insertions(+), 15 deletions(-) - -diff --git a/pom.xml b/pom.xml -index 4b93f98..db24e30 100644 ---- a/pom.xml -+++ b/pom.xml -@@ -127,11 +127,6 @@ - - - org.apache.ant -- ant-trax -- 1.7.1 -- -- -- org.apache.ant - ant-nodeps - 1.7.1 - -@@ -277,11 +272,6 @@ - - - org.apache.ant -- ant-trax -- 1.7.1 -- -- -- org.apache.ant - ant-junit - 1.7.1 - -@@ -341,11 +331,6 @@ - - - org.apache.ant -- ant-trax -- 1.7.1 -- -- -- org.apache.ant - ant-junit - 1.7.1 - --- -1.7.3.3 - diff --git a/selenium-core-1.0.2-xray.patch b/selenium-core-1.0.2-xray.patch new file mode 100644 index 0000000..0ddce4b --- /dev/null +++ b/selenium-core-1.0.2-xray.patch @@ -0,0 +1,36 @@ +From 5ec848928be1d5f3bb1d6bfe5d653bdc6677d59c Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Tue, 5 Apr 2011 15:30:57 +0200 +Subject: [PATCH] Unwrap xray objects + +Backport from +http://groups.google.com/group/selenium-developer-activity/browse_thread/thread/5476ee8d15c31a3a +--- + .../resources/core/scripts/selenium-browserbot.js | 11 +++++++++++ + 1 files changed, 11 insertions(+), 0 deletions(-) + +diff --git a/src/main/resources/core/scripts/selenium-browserbot.js b/src/main/resources/core/scripts/selenium-browserbot.js +index 30fe3ed..a8c3866 100644 +--- a/src/main/resources/core/scripts/selenium-browserbot.js ++++ b/src/main/resources/core/scripts/selenium-browserbot.js +@@ -1135,6 +1135,17 @@ BrowserBot.prototype.getCurrentWindow = function(doNotModify) { + this.newPageLoaded = false; + } + testWindow = this._handleClosedSubFrame(testWindow, doNotModify); ++ ++ // unwrap is not available on older branches (3.5 and 3.6) - Bug 533596 ++ if (XPCNativeWrapper && "unwrap" in XPCNativeWrapper) { ++ try { ++ testWindow = XPCNativeWrapper.unwrap(testWindow); ++ } catch(e) { ++ //Unwrapping will fail for JS literals - numbers, for example. Catch ++ // the exception and proceed, it will eventually be returend as-is. ++ } ++ } ++ + return testWindow; + }; + +-- +1.7.4 + diff --git a/selenium-core.spec b/selenium-core.spec index b24563e..db23651 100644 --- a/selenium-core.spec +++ b/selenium-core.spec @@ -1,6 +1,6 @@ Name: selenium-core Version: 1.0.2 -Release: 0.6.20100324svn%{?dist} +Release: 0.7.20100324svn%{?dist} Summary: A DHTML test execution framework Group: Development/Tools @@ -15,8 +15,8 @@ URL: http://seleniumhq.org/projects/core/ # tar czf selenium-core.tar.gz selenium-core Source0: selenium-core.tar.gz Patch0: selenium-core-1.0.2-no-test-deps.patch -Patch1: selenium-core-1.0.2-ant-trax.patch Patch2: selenium-core-1.0.2-svnversion.patch +Patch3: selenium-core-1.0.2-xray.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: ant-junit @@ -46,9 +46,9 @@ mode), but it also can be deployed on the desired application server. %prep %setup -q -n %{name} -%patch0 -p0 -b .no-test-deps -%patch1 -p1 -b .ant-trax -%patch2 -p1 -b .svnversion +%patch0 -p0 +%patch2 -p1 +%patch3 -p1 %build @@ -109,6 +109,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Apr 05 2011 Lubomir Rintel (GoodData) - 1.0.2-0.7.20100324svn +- Drop the broken ant-trax patch +- Fix Firefox 4 getEval() + * Wed Feb 09 2011 Fedora Release Engineering - 1.0.2-0.6.20100324svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From a5dac1a90dd834b35c636ab9fa12ab7a9f6fe1a0 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 13 Jan 2012 21:44:45 -0600 Subject: [PATCH 10/12] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- selenium-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/selenium-core.spec b/selenium-core.spec index db23651..89e3d21 100644 --- a/selenium-core.spec +++ b/selenium-core.spec @@ -1,6 +1,6 @@ Name: selenium-core Version: 1.0.2 -Release: 0.7.20100324svn%{?dist} +Release: 0.8.20100324svn%{?dist} Summary: A DHTML test execution framework Group: Development/Tools @@ -109,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 1.0.2-0.8.20100324svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Tue Apr 05 2011 Lubomir Rintel (GoodData) - 1.0.2-0.7.20100324svn - Drop the broken ant-trax patch - Fix Firefox 4 getEval() From 5323ad0841e233d56d9d496520f6ef2200b50683 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 14:18:31 -0500 Subject: [PATCH 11/12] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- selenium-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/selenium-core.spec b/selenium-core.spec index 89e3d21..1e96472 100644 --- a/selenium-core.spec +++ b/selenium-core.spec @@ -1,6 +1,6 @@ Name: selenium-core Version: 1.0.2 -Release: 0.8.20100324svn%{?dist} +Release: 0.9.20100324svn%{?dist} Summary: A DHTML test execution framework Group: Development/Tools @@ -109,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jul 21 2012 Fedora Release Engineering - 1.0.2-0.9.20100324svn +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Sat Jan 14 2012 Fedora Release Engineering - 1.0.2-0.8.20100324svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From 7823c4b1e13752a1f868f93846df7cfbc7fade0e Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 6 Aug 2012 12:18:12 -0400 Subject: [PATCH 12/12] Retire selenium-core - dead upstream --- dead.package | 1 + selenium-core-1.0.2-no-test-deps.patch | 32 ------ selenium-core-1.0.2-svnversion.patch | 28 ----- selenium-core-1.0.2-xray.patch | 36 ------- selenium-core.spec | 139 ------------------------- sources | 1 - 6 files changed, 1 insertion(+), 236 deletions(-) create mode 100644 dead.package delete mode 100644 selenium-core-1.0.2-no-test-deps.patch delete mode 100644 selenium-core-1.0.2-svnversion.patch delete mode 100644 selenium-core-1.0.2-xray.patch delete mode 100644 selenium-core.spec delete mode 100644 sources diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..4ddbba7 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +This package was retired on 2012-08-06 due to failure to build for multiple releases. diff --git a/selenium-core-1.0.2-no-test-deps.patch b/selenium-core-1.0.2-no-test-deps.patch deleted file mode 100644 index a999e9b..0000000 --- a/selenium-core-1.0.2-no-test-deps.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: pom.xml -=================================================================== ---- pom.xml (revision 7846) -+++ pom.xml (working copy) -@@ -393,23 +393,27 @@ - http://svn.openqa.org/svn/selenium-core/trunk - - -+ - - rhino - js - 1.7R1 - test - -+ - - diff --git a/selenium-core-1.0.2-svnversion.patch b/selenium-core-1.0.2-svnversion.patch deleted file mode 100644 index b91a730..0000000 --- a/selenium-core-1.0.2-svnversion.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 29c92f2e8d4fd579ce1a1d89dc092d5a203ecab4 Mon Sep 17 00:00:00 2001 -From: Lubomir Rintel -Date: Sat, 11 Dec 2010 21:41:55 +0100 -Subject: [PATCH] Do not require subversion - ---- - pom.xml | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/pom.xml b/pom.xml -index db24e30..f79d8d4 100644 ---- a/pom.xml -+++ b/pom.xml -@@ -85,9 +85,9 @@ - generate-resources - - -- -+ - - - --- -1.7.3.3 - diff --git a/selenium-core-1.0.2-xray.patch b/selenium-core-1.0.2-xray.patch deleted file mode 100644 index 0ddce4b..0000000 --- a/selenium-core-1.0.2-xray.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 5ec848928be1d5f3bb1d6bfe5d653bdc6677d59c Mon Sep 17 00:00:00 2001 -From: Lubomir Rintel -Date: Tue, 5 Apr 2011 15:30:57 +0200 -Subject: [PATCH] Unwrap xray objects - -Backport from -http://groups.google.com/group/selenium-developer-activity/browse_thread/thread/5476ee8d15c31a3a ---- - .../resources/core/scripts/selenium-browserbot.js | 11 +++++++++++ - 1 files changed, 11 insertions(+), 0 deletions(-) - -diff --git a/src/main/resources/core/scripts/selenium-browserbot.js b/src/main/resources/core/scripts/selenium-browserbot.js -index 30fe3ed..a8c3866 100644 ---- a/src/main/resources/core/scripts/selenium-browserbot.js -+++ b/src/main/resources/core/scripts/selenium-browserbot.js -@@ -1135,6 +1135,17 @@ BrowserBot.prototype.getCurrentWindow = function(doNotModify) { - this.newPageLoaded = false; - } - testWindow = this._handleClosedSubFrame(testWindow, doNotModify); -+ -+ // unwrap is not available on older branches (3.5 and 3.6) - Bug 533596 -+ if (XPCNativeWrapper && "unwrap" in XPCNativeWrapper) { -+ try { -+ testWindow = XPCNativeWrapper.unwrap(testWindow); -+ } catch(e) { -+ //Unwrapping will fail for JS literals - numbers, for example. Catch -+ // the exception and proceed, it will eventually be returend as-is. -+ } -+ } -+ - return testWindow; - }; - --- -1.7.4 - diff --git a/selenium-core.spec b/selenium-core.spec deleted file mode 100644 index 1e96472..0000000 --- a/selenium-core.spec +++ /dev/null @@ -1,139 +0,0 @@ -Name: selenium-core -Version: 1.0.2 -Release: 0.9.20100324svn%{?dist} -Summary: A DHTML test execution framework - -Group: Development/Tools -# cssquery: LGPLv2 -# scriptaculous: MIT -# selenium-core: ASL 2.0 -# jsunit: GPLv2+ -# strands: MPLv1.1 or GPLv2+ or LGPLv2+ -License: LGPLv2 and MIT and ASL 2.0 and GPLv2+ and (MPLv1.1 or GPLv2+ or LGPLv2+) -URL: http://seleniumhq.org/projects/core/ -# svn export -r8566 http://selenium.googlecode.com/svn/selenium-core/trunk@8566 selenium-core -# tar czf selenium-core.tar.gz selenium-core -Source0: selenium-core.tar.gz -Patch0: selenium-core-1.0.2-no-test-deps.patch -Patch2: selenium-core-1.0.2-svnversion.patch -Patch3: selenium-core-1.0.2-xray.patch -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) - -BuildRequires: ant-junit -BuildRequires: ant-trax -BuildRequires: java-devel-openjdk -BuildRequires: maven2 -BuildRequires: maven2-plugin-antrun -BuildRequires: maven2-plugin-clean -BuildRequires: maven2-plugin-compiler -BuildRequires: maven2-plugin-install -BuildRequires: maven2-plugin-jar -BuildRequires: maven2-plugin-resources -BuildRequires: maven-plugin-tools -BuildRequires: maven-shared-ant -BuildRequires: maven-surefire-maven-plugin -BuildRequires: maven-surefire-provider-junit -Requires: jpackage-utils -Requires: ant -Requires: jakarta-commons-logging -Requires: servlet -BuildArch: noarch - -%description -Selenium Core is the engine of both, Selenium IDE and Selenium RC (driven -mode), but it also can be deployed on the desired application server. - - -%prep -%setup -q -n %{name} -%patch0 -p0 -%patch2 -p1 -%patch3 -p1 - - -%build -find -name '*.jar' -delete - -# Fill in templates -# jar packaging somehow does not pick up what generate-resources -# generates -find -type f -print0 |xargs -0 sed -i \ - 's/@VERSION@/%{version}/g;s/@REVISION@/%{release}/g' - -MAVEN_REPO_LOCAL=$PWD/.m2/repository -rm -rf $MAVEN_REPO_LOCAL -mkdir -p $MAVEN_REPO_LOCAL - -# Test suite depends on selenium-server which is not in (yet!) -# (and has a circular dependency on us, so this goes first) -mvn-jpp install \ - -DskipTests=true \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL - - -%install -rm -rf $RPM_BUILD_ROOT - -# JAR files -install -d $RPM_BUILD_ROOT%{_javadir} -install -p -m644 target/%{name}-%{version}*.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar -ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar - -# Maven depmap -install -d $RPM_BUILD_ROOT%{_datadir}/maven2/poms -install -p -m644 pom.xml $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-%{name}.pom -%add_to_maven_depmap org.seleniumhq.selenium.core %{name} %{version} JPP %{name} - - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -%update_maven_depmap - - -%postun -%update_maven_depmap - - -%files -%defattr(-,root,root,-) -%{_javadir}/%{name}.jar -%{_javadir}/%{name}-%{version}.jar -%{_mavendepmapfragdir}/* -%{_datadir}/maven2/poms/* -# A couple of irrelevant licenses are included, yet ones -# of bundled software aren't... -%doc license/selenium_license.txt - - -%changelog -* Sat Jul 21 2012 Fedora Release Engineering - 1.0.2-0.9.20100324svn -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 1.0.2-0.8.20100324svn -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Apr 05 2011 Lubomir Rintel (GoodData) - 1.0.2-0.7.20100324svn -- Drop the broken ant-trax patch -- Fix Firefox 4 getEval() - -* Wed Feb 09 2011 Fedora Release Engineering - 1.0.2-0.6.20100324svn -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sat Dec 11 2010 Lubomir Rintel - 1.0.2-0.5.20100324svn -- Fix build - -* Tue Apr 20 2010 Lubomir Rintel (GoodData) - 1.0.2-0.4.20100324svn -- Fill in version and revision (Jiri Kastner, #581756) - -* Thu Apr 01 2010 Lubomir Rintel (GoodData) - 1.0.2-0.3.20100324svn -- Update to a later snapshot -- Add maven depmap - -* Wed Jan 06 2010 Lubomir Rintel (GoodData) - 1.0.2-0.2.20091211svn -- Fix commons-logging dependency - -* Fri Dec 11 2009 Lubomir Rintel (GoodData) - 1.0.2-0.1.20091211svn -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 8a7f080..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -db17f9c2fa27897a560bedc2e043dbea selenium-core.tar.gz