From 55cd6b9202eae980b24fb1d44a9228d58bd8905f553603644b7a585da2944e22 Mon Sep 17 00:00:00 2001 From: Antoine Belvire Date: Fri, 12 Feb 2016 23:05:38 +0000 Subject: [PATCH] Accepting request 358961 from home:olh:branches:devel:languages:python - Avoid BuildArch noarch in SLE_11 to fix build Add also BuildRoot to fix build in OBS OBS-URL: https://build.opensuse.org/request/show/358961 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-notify2?expand=0&rev=2 --- python-notify2.changes | 5 +++++ python-notify2.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-notify2.changes b/python-notify2.changes index 216b61e..0596f5f 100644 --- a/python-notify2.changes +++ b/python-notify2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 12 08:08:04 UTC 2016 - olaf@aepfle.de + +- Avoid BuildArch noarch in SLE_11 to fix build + ------------------------------------------------------------------- Thu Jul 30 18:34:25 UTC 2015 - antoine.belvire@laposte.net diff --git a/python-notify2.spec b/python-notify2.spec index f1c5c64..e74c305 100644 --- a/python-notify2.spec +++ b/python-notify2.spec @@ -1,7 +1,7 @@ # # spec file for package python-notify2 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -24,10 +24,13 @@ License: BSD-3-Clause Group: Development/Languages/Python Url: https://pypi.python.org/pypi/notify2/ Source: https://pypi.python.org/packages/source/n/notify2/notify2-%{version}.tar.gz -BuildRequires: python-setuptools BuildRequires: dbus-1-python +BuildRequires: python-setuptools Requires: dbus-1-python +%if 0%{?suse_version} > 1110 BuildArch: noarch +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a pure-python replacement for notify-python, using python-dbus