[packages/python-pymox] rel 2 to rebuild with python eggs

glen glen at pld-linux.org
Sun Jan 27 16:57:11 CET 2013


commit a6863bb573eca7835c2308de3a288df2ec64a3ba
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Jan 27 17:56:02 2013 +0200

    rel 2 to rebuild with python eggs
    
    also: correct url, cosmetics, rename todo

 python-pymox.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/python-pymox.spec b/python-pymox.spec
index b112be6..56c721c 100644
--- a/python-pymox.spec
+++ b/python-pymox.spec
@@ -1,16 +1,17 @@
+# TODO: rename to python-mox to conform to pld python package naming policy (python-MODULE_NAME)
 %define 	module	pymox
 Summary:	Mox is a mock object framework for Python
 Name:		python-%{module}
 Version:	0.5.3
-Release:	1
+Release:	2
 License:	Apache
 Group:		Libraries/Python
 Source0:	http://pymox.googlecode.com/files/mox-%{version}.tar.gz
 # Source0-md5:	2c43da56ed1bbbbf7805e81c76a924cc
-URL:		http://pyme.sourceforge.net/
-%pyrequires_eq	python-modules
+URL:		https://code.google.com/p/pymox/
 BuildRequires:	python-modules
 BuildRequires:	rpm-pythonprov
+Requires:	python-modules
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -26,7 +27,7 @@ language (DSL), which makes it easy to use, understand, and refactor!
 %setup -q -n mox-%{version}
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pymox.git/commitdiff/a6863bb573eca7835c2308de3a288df2ec64a3ba



More information about the pld-cvs-commit mailing list