packages: python-funcparserlib/python-funcparserlib.spec - cleanups, adapter

glen glen at pld-linux.org
Wed Oct 19 18:00:07 CEST 2011


Author: glen                         Date: Wed Oct 19 16:00:07 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- cleanups, adapter

---- Files affected:
packages/python-funcparserlib:
   python-funcparserlib.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/python-funcparserlib/python-funcparserlib.spec
diff -u packages/python-funcparserlib/python-funcparserlib.spec:1.2 packages/python-funcparserlib/python-funcparserlib.spec:1.3
--- packages/python-funcparserlib/python-funcparserlib.spec:1.2	Mon Aug  1 14:12:17 2011
+++ packages/python-funcparserlib/python-funcparserlib.spec	Wed Oct 19 18:00:01 2011
@@ -1,8 +1,4 @@
 # $Revision$, $Date$
-#
-# Conditional build:
-%bcond_without	tests	# do not perform "make test"
-
 %define 	module	funcparserlib
 Summary:	Recursive descent parsing library based on functional combinators
 Name:		python-%module
@@ -13,22 +9,14 @@
 URL:		http://code.google.com/p/%{module}/
 Source0:	http://pypi.python.org/packages/source/f/%{module}/%{module}-%{version}.tar.gz
 # Source0-md5:	52dfec49f2d2c4d816fe8d8c90f7dcf1
-#BuildRequires:	python-coverage
-#BuildRequires:	python-devel
-#BuildRequires:	python-django
-#BuildRequires:	python-nose
-#BuildRequires:	python-pyflakes
-#BuildRequires:	python-setuptools
-#BuildRequires:	python-sqlite
 BuildRequires:	rpmbuild(macros) >= 1.219
 BuildRequires:	sed >= 4.0
-#Requires:	python-django
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Parser combinators are just higher-order functions that  take parsers and 
-thier arguments and return them as result values.
+Parser combinators are just higher-order functions that take parsers
+and thier arguments and return them as result values.
 
 %prep
 %setup -q -n %{module}-%{version}
@@ -47,18 +35,16 @@
 
 %py_postclean
 
-rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
-rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc README
-%{py_sitescriptdir}/%{module}
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
 %if "%{py_ver}" > "2.4"
-%{py_sitescriptdir}/%{module}-%{version}-*.egg-info/
+%{py_sitescriptdir}/%{module}-%{version}-*.egg-info
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -67,6 +53,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.2  2011/08/01 12:12:17  cieciwa
-- updated %%Summary nad %%description.
+Revision 1.3  2011/10/19 16:00:01  glen
+- cleanups, adapter
 
+Revision 1.2  2011/08/01 12:12:17  cieciwa
+- updated %Summary and %description.
================================================================

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



More information about the pld-cvs-commit mailing list