SPECS: python-xmlrpc.spec - I can be python-aware: arch-independen...

saq saq at pld-linux.org
Tue Jul 5 21:18:51 CEST 2005


Author: saq                          Date: Tue Jul  5 19:18:51 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- I can be python-aware: arch-independent dir, minor fixes
- release 1

---- Files affected:
SPECS:
   python-xmlrpc.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/python-xmlrpc.spec
diff -u SPECS/python-xmlrpc.spec:1.24 SPECS/python-xmlrpc.spec:1.25
--- SPECS/python-xmlrpc.spec:1.24	Tue Jul  5 20:47:40 2005
+++ SPECS/python-xmlrpc.spec	Tue Jul  5 21:18:45 2005
@@ -3,8 +3,7 @@
 Summary(pl):	XML-RPC dla języka Python
 Name:		python-xmlrpc
 Version:	1.0.1
-# make it rel 1 after it's reviewed by a python-aware person
-Release:	0.1
+Release:	1
 # BSD-like?
 License:	distributable
 Group:		Libraries/Python
@@ -13,7 +12,7 @@
 URL:		http://www.pythonware.com/products/xmlrpc/
 BuildRequires:	python >= 2.2.1
 BuildRequires:	unzip
-%pyrequires_eq	python
+%pyrequires_eq	python-modules
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,10 +32,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 python setup.py install \
-	--install-lib=%{py_sitedir} \
+	--install-lib=%{py_sitescriptdir} \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -44,7 +45,7 @@
 %defattr(644,root,root,755)
 %doc README
 %attr(755,root,root) %{_bindir}/*
-%{py_sitedir}/*.py?
+%{py_sitescriptdir}/*.py[co]
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -52,6 +53,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2005/07/05 19:18:45  saq
+- I can be python-aware: arch-independent dir, minor fixes
+- release 1
+
 Revision 1.24  2005/07/05 18:47:40  darekr
 - BR: unzip
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-xmlrpc.spec?r1=1.24&r2=1.25&f=u




More information about the pld-cvs-commit mailing list