rpms/python-ruledispatch/devel python-ruledispatch.spec,1.11,1.12

Toshio くらとみ toshio at fedoraproject.org
Tue Dec 2 17:23:59 UTC 2008


Author: toshio

Update of /cvs/pkgs/rpms/python-ruledispatch/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16730

Modified Files:
	python-ruledispatch.spec 
Log Message:

* Tue Dec 2 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.5a0-0.12.svnr2306
- Enable test suite.



Index: python-ruledispatch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-ruledispatch/devel/python-ruledispatch.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- python-ruledispatch.spec	29 Nov 2008 15:52:23 -0000	1.11
+++ python-ruledispatch.spec	2 Dec 2008 17:23:28 -0000	1.12
@@ -5,7 +5,7 @@
 
 Name:           python-ruledispatch
 Version:        0.5a0
-Release:        0.11.svn%{svnrev}%{?dist}
+Release:        0.12.svn%{svnrev}%{?dist}
 Summary:        A generic function package for Python
 
 Group:          Development/Languages
@@ -22,16 +22,20 @@
 
 %prep
 %setup -q -n RuleDispatch-%{version}.dev-%{svnrev}
-mv src/dispatch/*.txt .
-chmod a-x *.txt
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed
- 
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+mv $RPM_BUILD_ROOT%{python_sitearch}/dispatch/*.txt .
+chmod a-x *.txt
+
+
+%check
+%{__python} setup.py test
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -50,6 +54,9 @@
 %{python_sitearch}/dispatch/tests/*.pyo
 
 %changelog
+* Tue Dec 2 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.5a0-0.12.svnr2306
+- Enable test suite.
+
 * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.5a0-0.11.svnr2306
 - Rebuild for Python 2.6
 




More information about the fedora-extras-commits mailing list