packages: python-selenium/python-selenium.spec - release 0.3, - moved RC id...

cieciwa cieciwa at pld-linux.org
Fri Jul 1 08:49:58 CEST 2011


Author: cieciwa                      Date: Fri Jul  1 06:49:58 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- release 0.3,
- moved RC id to release, rename subpackage to: iceweasel-addon-python-selenium.

---- Files affected:
packages/python-selenium:
   python-selenium.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/python-selenium/python-selenium.spec
diff -u packages/python-selenium/python-selenium.spec:1.3 packages/python-selenium/python-selenium.spec:1.4
--- packages/python-selenium/python-selenium.spec:1.3	Thu Jun 30 14:33:07 2011
+++ packages/python-selenium/python-selenium.spec	Fri Jul  1 08:49:53 2011
@@ -4,14 +4,15 @@
 
 %define	no_install_post_chrpath	1
 
+%define		_rc	rc3
 %define 	module	selenium
 Summary:	Python bindings for selenium.
 Name:		python-%{module}
-Version:	2.0rc3
-Release:	0.2
+Version:	2.0
+Release:	0.3_%{_rc}
 License:	BSD-like
 Group:		Development/Languages/Python
-Source0:	http://pypi.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.gz
+Source0:	http://pypi.python.org/packages/source/s/%{module}/%{module}-%{version}%{_rc}.tar.gz
 # Source0-md5:	c87b8659cdc96da7b9f73ed2db1bcdaa
 URL:		http://pypi.python.org/pypi/selenium/
 BuildRequires:	python-distribute
@@ -19,7 +20,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.228
 Requires(post,preun):	/sbin/chkconfig
 BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRoot:	%{tmpdir}/%{name}-%{version}%{_rc}-root-%(id -u -n)
 
 %description
 Selenium Python Client Driver is a Python language binding for Selenium 
@@ -29,15 +30,15 @@
 supported, as well as the Selenium 1.0 bindings. As work will progresses 
 we'll add more "native" drivers.
         
-%package iceweasel-addon
+%package -n iceweasel-addon-%{module}
 Summary:	Iceweasel add-on for python selenium.
 Group:		Development
 
-%description iceweasel-addon
+%description -n iceweasel-addon-%{module}
 Driver for python selenium.
 
 %prep
-%setup -q -n %{module}-%{version}
+%setup -q -n %{module}-%{version}%{_rc}
 
 %build
 %{__python} setup.py build
@@ -52,7 +53,7 @@
 %py_postclean
 
 install -d $RPM_BUILD_ROOT%{_libdir}/iceweasel/extensions/fxdriver at googlecode.com
-unzip $RPM_BUILD_DIR/%{module}-%{version}/py/selenium/webdriver/firefox/webdriver.xpi -d $RPM_BUILD_ROOT%{_libdir}/iceweasel/extensions/fxdriver at googlecode.com
+unzip $RPM_BUILD_DIR/%{module}-%{version}%{_rc}/py/selenium/webdriver/firefox/webdriver.xpi -d $RPM_BUILD_ROOT%{_libdir}/iceweasel/extensions/fxdriver at googlecode.com
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -66,7 +67,7 @@
 %{py_sitescriptdir}/%{module}-*.egg-info
 %endif
 
-%files iceweasel-addon
+%files -n iceweasel-addon-%{module}
 %defattr(644,root,root,755)
 %{_libdir}/iceweasel/extensions/fxdriver at googlecode.com/
 
@@ -76,6 +77,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/07/01 06:49:53  cieciwa
+- release 0.3,
+- moved RC id to release, rename subpackage to: iceweasel-addon-python-selenium.
+
 Revision 1.3  2011/06/30 12:33:07  cieciwa
 - release 0.2,
 - added iceweasel-addon package with webdriver.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-selenium/python-selenium.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list