packages: python-coverage/python-coverage.spec - package all files; rel 1

glen glen at pld-linux.org
Tue Aug 10 14:56:47 CEST 2010


Author: glen                         Date: Tue Aug 10 12:56:47 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package all files; rel 1

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

---- Diffs:

================================================================
Index: packages/python-coverage/python-coverage.spec
diff -u packages/python-coverage/python-coverage.spec:1.2 packages/python-coverage/python-coverage.spec:1.3
--- packages/python-coverage/python-coverage.spec:1.2	Wed Jan 20 20:19:39 2010
+++ packages/python-coverage/python-coverage.spec	Tue Aug 10 14:56:42 2010
@@ -3,7 +3,7 @@
 Summary:	Tool for measuring code coverage of Python programs
 Name:		python-%{module}
 Version:	3.2
-Release:	0.1
+Release:	1
 License:	BSD
 Group:		Development/Languages/Python
 Source0:	http://pypi.python.org/packages/source/c/coverage/%{module}-%{version}.tar.gz
@@ -12,11 +12,8 @@
 BuildRequires:	python-devel
 BuildRequires:	python-setuptools
 BuildRequires:	rpm-pythonprov
-# if py_postclean is used
 BuildRequires:	rpmbuild(macros) >= 1.219
-#Requires:		python-libs
 Requires:	python-modules
-#BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,9 +35,6 @@
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
-# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
-%py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_postclean
 
 %clean
@@ -49,11 +43,13 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGES.txt README.txt
-# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
+%attr(755,root,root) %{_bindir}/coverage
+%dir %{py_sitedir}/%{module}
 %{py_sitedir}/%{module}/*.py[co]
 %attr(755,root,root) %{py_sitedir}/%{module}/*.so
+%{py_sitedir}/%{module}/htmlfiles
 %if "%{py_ver}" > "2.4"
-#{py_sitedir}/TEMPLATE-*.egg-info
+%{py_sitedir}/coverage-%{version}*.egg-info
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -62,6 +58,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/08/10 12:56:42  glen
+- package all files; rel 1
+
 Revision 1.2  2010/01/20 19:19:39  sparky
 - BR: python-setuptools
 
================================================================

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



More information about the pld-cvs-commit mailing list