Author: wrobell Date: Sun May 22 01:57:04 2011 GMT Module: packages Tag: HEAD ---- Log message: - ver. 2.5 (for python 3 now, python 2 package to be done)
---- Files affected: packages/python-serial: python-serial.spec (1.21 -> 1.22) ---- Diffs: ================================================================ Index: packages/python-serial/python-serial.spec diff -u packages/python-serial/python-serial.spec:1.21 packages/python-serial/python-serial.spec:1.22 --- packages/python-serial/python-serial.spec:1.21 Sun Jan 23 22:10:45 2011 +++ packages/python-serial/python-serial.spec Sun May 22 03:56:59 2011 @@ -5,12 +5,12 @@ Summary: Serial port interface module Summary(pl.UTF-8): ModuĊ interfejsu do portu szeregowego Name: python-serial -Version: 2.4 -Release: 2 +Version: 2.5 +Release: 1 License: GPL Group: Development/Languages/Python Source0: http://dl.sourceforge.net/pyserial/pyserial-%{version}.tar.gz -# Source0-md5: eec19df59fd75ba5a136992897f8e468 +# Source0-md5: 34340820710239bea2ceca7f43ef8cab URL: http://pyserial.wiki.sourceforge.net/pySerial %pyrequires_eq python BuildRequires: python-devel @@ -36,21 +36,20 @@ %setup -q -n pyserial-%{version} %build -python ./setup.py build +%{__python3} ./setup.py build %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} -python ./setup.py install \ +%{__python3} ./setup.py install \ --optimize 2 \ --root=$RPM_BUILD_ROOT mv examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} -find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*serialjava*" -exec rm {} \; -find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*serialwin*" -exec rm {} \; -find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \; +find $RPM_BUILD_ROOT%{py3_sitescriptdir} -name "*serialjava*" -exec rm {} \; +find $RPM_BUILD_ROOT%{py3_sitescriptdir} -name "*serialwin*" -exec rm {} \; %clean rm -rf $RPM_BUILD_ROOT @@ -59,9 +58,8 @@ %defattr(644,root,root,755) %doc CHANGES.txt LICENSE.txt README.txt %{_examplesdir}/%{name}-%{version} -%dir %{py_sitescriptdir}/%{module} -%{py_sitescriptdir}/%{module}/*.py[co] -%{py_sitescriptdir}/*egg-info +%{py3_sitescriptdir}/%{module} +%{py3_sitescriptdir}/*egg-info %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -69,6 +67,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.22 2011/05/22 01:56:59 wrobell +- ver. 2.5 (for python 3 now, python 2 package to be done) + Revision 1.21 2011/01/23 21:10:45 sparky - added BR: python-modules, rpm-pythonprov ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-serial/python-serial.spec?r1=1.21&r2=1.22&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
