Sascha Peilicke 2012-03-10 16:54:12 +00:00 committed by Git OBS Bridge
parent 31f46a45b9
commit bd846ba354
2 changed files with 8 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 10 16:54:01 UTC 2012 - saschpe@gmx.de
- Simplify macro usage
-------------------------------------------------------------------
Thu Nov 10 11:11:58 UTC 2011 - saschpe@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-coverage
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,6 @@
#
Name: python-coverage
Version: 3.5.1
Release: 0
@ -31,13 +30,9 @@ BuildRequires: python-distribute
BuildRequires: python-xml
Requires: python-distribute
Requires: python-xml
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1010
BuildRequires: fdupes
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%endif
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description
Coverage.py measures code coverage, typically during test execution. It uses
@ -52,9 +47,6 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%if 0%{?suse_version} > 1010
%fdupes %{buildroot}%{_prefix}
%endif
%files
%defattr(-,root,root,-)