- Simplify macro usage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=13
This commit is contained in:
parent
31f46a45b9
commit
bd846ba354
@ -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
|
Thu Nov 10 11:11:58 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-coverage
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: python-coverage
|
Name: python-coverage
|
||||||
Version: 3.5.1
|
Version: 3.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -31,13 +30,9 @@ BuildRequires: python-distribute
|
|||||||
BuildRequires: python-xml
|
BuildRequires: python-xml
|
||||||
Requires: python-distribute
|
Requires: python-distribute
|
||||||
Requires: python-xml
|
Requires: python-xml
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%py_requires
|
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
%if 0%{?suse_version} > 1010
|
|
||||||
BuildRequires: fdupes
|
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Coverage.py measures code coverage, typically during test execution. It uses
|
Coverage.py measures code coverage, typically during test execution. It uses
|
||||||
@ -52,9 +47,6 @@ python setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
%if 0%{?suse_version} > 1010
|
|
||||||
%fdupes %{buildroot}%{_prefix}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user