Fix permissions

This commit is contained in:
Toshio くらとみ 2010-06-25 19:57:38 +00:00
parent 28176070f5
commit 5bc9268027
1 changed files with 7 additions and 3 deletions

View File

@ -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 <toshio@fedoraproject.org> - 3.3.1-2
- Fix license tag, permissions, and filtering extraneous provides
* Wed May 9 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.1-1
- Update to 3.3.1