update to 3.5b1
This commit is contained in:
parent
f4a3df9237
commit
df5a6128d3
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
coverage-3.3.1.tar.gz
|
coverage-3.3.1.tar.gz
|
||||||
coverage-3.4.tar.gz
|
coverage-3.4.tar.gz
|
||||||
|
/coverage-3.5b1.tar.gz
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%global betaver b1
|
||||||
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?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
|
# tracer.so is a private object, don't include it in the provides
|
||||||
@ -11,13 +13,12 @@
|
|||||||
|
|
||||||
Name: python-coverage
|
Name: python-coverage
|
||||||
Summary: Code coverage testing module for Python
|
Summary: Code coverage testing module for Python
|
||||||
Version: 3.4
|
Version: 3.5
|
||||||
Release: 3%{?dist}
|
Release: 0.1.%{betaver}%{?dist}
|
||||||
License: BSD and (MIT or GPLv2)
|
License: BSD and (MIT or GPLv2)
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://nedbatchelder.com/code/modules/coverage.html
|
URL: http://nedbatchelder.com/code/modules/coverage.html
|
||||||
Source0: http://pypi.python.org/packages/source/c/coverage/coverage-%{version}.tar.gz
|
Source0: http://pypi.python.org/packages/source/c/coverage/coverage-%{version}%{betaver}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: python-setuptools, python-devel
|
BuildRequires: python-setuptools, python-devel
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
@ -47,7 +48,7 @@ have been executed.
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n coverage-%{version}
|
%setup -q -n coverage-%{version}%{betaver}
|
||||||
|
|
||||||
find . -type f -exec chmod 0644 \{\} \;
|
find . -type f -exec chmod 0644 \{\} \;
|
||||||
sed -i 's/\r//g' README.txt
|
sed -i 's/\r//g' README.txt
|
||||||
@ -70,7 +71,6 @@ popd
|
|||||||
%endif # if with_python3
|
%endif # if with_python3
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
|
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
|
||||||
@ -80,11 +80,7 @@ popd
|
|||||||
|
|
||||||
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README.txt
|
%doc README.txt
|
||||||
%{_bindir}/coverage
|
%{_bindir}/coverage
|
||||||
%{python_sitearch}/coverage/
|
%{python_sitearch}/coverage/
|
||||||
@ -92,7 +88,6 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%files -n python3-coverage
|
%files -n python3-coverage
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/python3-coverage
|
%{_bindir}/python3-coverage
|
||||||
%{python3_sitearch}/coverage/
|
%{python3_sitearch}/coverage/
|
||||||
%{python3_sitearch}/coverage*.egg-info/
|
%{python3_sitearch}/coverage*.egg-info/
|
||||||
@ -100,6 +95,9 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 6 2011 Tom Callaway <spot@fedoraproject.org> - 3.5-0.1.b1
|
||||||
|
- update to 3.5b1
|
||||||
|
|
||||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-3
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user