Author: cieciwa Date: Thu Jun 30 12:33:12 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- release 0.2,
- added iceweasel-addon package with webdriver.
---- Files affected:
packages/python-selenium:
python-selenium.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/python-selenium/python-selenium.spec
diff -u packages/python-selenium/python-selenium.spec:1.2
packages/python-selenium/python-selenium.spec:1.3
--- packages/python-selenium/python-selenium.spec:1.2 Thu Jun 30 12:04:56 2011
+++ packages/python-selenium/python-selenium.spec Thu Jun 30 14:33:07 2011
@@ -1,11 +1,14 @@
# $Revision$, $Date$
# TODO
# - better group
+
+%define no_install_post_chrpath 1
+
%define module selenium
Summary: Python bindings for selenium.
Name: python-%{module}
Version: 2.0rc3
-Release: 0.1
+Release: 0.2
License: BSD-like
Group: Development/Languages/Python
Source0:
http://pypi.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.gz
@@ -26,6 +29,12 @@
supported, as well as the Selenium 1.0 bindings. As work will progresses
we'll add more "native" drivers.
+%package iceweasel-addon
+Summary: Iceweasel add-on for python selenium.
+Group: Development
+
+%description iceweasel-addon
+Driver for python selenium.
%prep
%setup -q -n %{module}-%{version}
@@ -42,6 +51,9 @@
%py_postclean
+install -d
$RPM_BUILD_ROOT%{_libdir}/iceweasel/extensions/[email protected]
+unzip
$RPM_BUILD_DIR/%{module}-%{version}/py/selenium/webdriver/firefox/webdriver.xpi
-d $RPM_BUILD_ROOT%{_libdir}/iceweasel/extensions/[email protected]
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -54,12 +66,20 @@
%{py_sitescriptdir}/%{module}-*.egg-info
%endif
+%files iceweasel-addon
+%defattr(644,root,root,755)
+%{_libdir}/iceweasel/extensions/[email protected]/
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[email protected]>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2011/06/30 12:33:07 cieciwa
+- release 0.2,
+- added iceweasel-addon package with webdriver.
+
Revision 1.2 2011/06/30 10:04:56 cieciwa
- updated.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-selenium/python-selenium.spec?r1=1.2&r2=1.3&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit