SPECS: python-jsonrpc.spec - UTF-8, py_postclean, pythonprov BRs

qboosh qboosh at pld-linux.org
Wed Apr 16 18:18:20 CEST 2008


Author: qboosh                       Date: Wed Apr 16 16:18:20 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- UTF-8, py_postclean, pythonprov BRs

---- Files affected:
SPECS:
   python-jsonrpc.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/python-jsonrpc.spec
diff -u SPECS/python-jsonrpc.spec:1.2 SPECS/python-jsonrpc.spec:1.3
--- SPECS/python-jsonrpc.spec:1.2	Tue Dec 11 23:03:58 2007
+++ SPECS/python-jsonrpc.spec	Wed Apr 16 18:18:14 2008
@@ -1,25 +1,28 @@
 # $Revision$, $Date$
-%define _svn_release r19
+%define subver r19
 Summary:	JSON-RPC implementation
-Summary(pl):	Implementacja prokokołu JSON-RPC
+Summary(pl.UTF-8):	Implementacja prokokołu JSON-RPC
 Name:		python-jsonrpc
-Version:	0.%{_svn_release}
+Version:	0.%{subver}
 Release:	1
 License:	GPL
 Group:		Development/Languages/Python
-Source0:	%{name}-%{_svn_release}.tar.gz
+Source0:	%{name}-%{subver}.tar.gz
 # Source0-md5:	e6ad68f8042fab5fe597015b17141555
 URL:		http://json-rpc.org/wiki/python-json-rpc
-%pyrequires_eq	python
+BuildRequires:	python
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+%pyrequires_eq	python-libs
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Python-jsonrpc is an implementation of JSON-RPC protocol
-(http://json-rpc.org/) in Python
+python-jsonrpc is an implementation of JSON-RPC protocol
+(http://json-rpc.org/) in Python.
 
-%description -l pl
-json.py to implementacja protokołu JSON-RPC (http://json.org/) w
+%description -l pl.UTF-8
+python-jsonrpc to implementacja protokołu JSON-RPC (http://json.org/) w
 Pythonie.
 
 %prep
@@ -28,17 +31,16 @@
 %build
 CFLAGS="%{rpmcflags}"
 export CFLAGS
-python setup.py build
-
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
+%{__python} setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
-rm $RPM_BUILD_ROOT%{py_sitescriptdir}/jsonrpc/*.pyc
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,9 +55,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008-04-16 16:18:14  qboosh
+- UTF-8, py_postclean, pythonprov BRs
+
 Revision 1.2  2007-12-11 22:03:58  japhy
 - Install *.py and *.egg-info
 
 Revision 1.1  2007-12-11 21:55:20  japhy
 - New package.
-
================================================================

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



More information about the pld-cvs-commit mailing list