From 5bc9268027c57714b1417a4034bed29879989013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toshio=20=E3=81=8F=E3=82=89=E3=81=A8=E3=81=BF?= Date: Fri, 25 Jun 2010 19:57:38 +0000 Subject: [PATCH] Fix permissions --- python-coverage.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-coverage.spec b/python-coverage.spec index 60d762f..1bc61eb 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -4,6 +4,7 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +# tracer.so is a private object, don't include it in the provides %global _use_internal_dependency_generator 0 %global __find_provides /bin/sh -c "%{_rpmconfigdir}/find-provides | grep -v -E '(tracer.so)' || /bin/true" %global __find_requires /bin/sh -c "%{_rpmconfigdir}/find-requires | grep -v -E '(tracer.so)' || /bin/true" @@ -11,7 +12,7 @@ Name: python-coverage Summary: Code coverage testing module for Python Version: 3.3.1 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD and (MIT or GPLv2) Group: System Environment/Libraries URL: http://nedbatchelder.com/code/modules/coverage.html @@ -47,9 +48,9 @@ have been executed. %prep %setup -q -n coverage-%{version} -chmod -x README.txt + +find . -type f -exec chmod 0644 \{\} \; sed -i 's/\r//g' README.txt -chmod -x coverage.egg-info/*.txt %if 0%{?with_python3} rm -rf %{py3dir} @@ -99,6 +100,9 @@ rm -rf %{buildroot} %changelog +* Wed May 9 2010 Toshio Kuratomi - 3.3.1-2 +- Fix license tag, permissions, and filtering extraneous provides + * Wed May 9 2010 Toshio Kuratomi - 3.3.1-1 - Update to 3.3.1