From 193c43458f23c0a5d52ecede815bc370c583d27665f50273b96a4e5b7bc8dd7f Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Sun, 26 Jul 2015 12:40:17 +0000 Subject: [PATCH] Accepting request 318673 from home:seife:OpenStack:Master fix rhel deps by depending on /usr/sbin/update-alternatives OBS-URL: https://build.opensuse.org/request/show/318673 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=42 --- python-coverage.changes | 5 +++++ python-coverage.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-coverage.changes b/python-coverage.changes index e5c3603..cf54859 100644 --- a/python-coverage.changes +++ b/python-coverage.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 24 21:02:54 UTC 2015 - seife+obs@b1-systems.com + +- fix rhel deps by depending on /usr/sbin/update-alternatives + ------------------------------------------------------------------- Sun Nov 09 23:03:00 UTC 2014 - Led diff --git a/python-coverage.spec b/python-coverage.spec index 34075b9..3292e11 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -1,7 +1,7 @@ # # spec file for package python-coverage # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,8 +32,8 @@ BuildRequires: python-setuptools #BuildRequires: python-nose Requires: python-setuptools Requires: python-xml -Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(post): /usr/sbin/update-alternatives +Requires(postun): /usr/sbin/update-alternatives %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