From 8b688c8a64e0142d955bd30a3bf6f0ee38fcb1c10de6ff70b361f0a8c52a448e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 1 Feb 2023 00:06:06 +0000 Subject: [PATCH] - fix build for older distributions OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SecretStorage?expand=0&rev=40 --- python-SecretStorage.changes | 5 +++++ python-SecretStorage.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-SecretStorage.changes b/python-SecretStorage.changes index 08b5906..633d9c2 100644 --- a/python-SecretStorage.changes +++ b/python-SecretStorage.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 1 00:05:35 UTC 2023 - Dirk Müller + +- fix build for older distributions + ------------------------------------------------------------------- Mon Sep 19 09:51:32 UTC 2022 - Dirk Müller diff --git a/python-SecretStorage.spec b/python-SecretStorage.spec index ad521b2..6eac86d 100644 --- a/python-SecretStorage.spec +++ b/python-SecretStorage.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,7 +43,9 @@ BuildArch: noarch BuildRequires: %{python_module SecretStorage = %{version}} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module jeepney >= 0.6} +%if %{?suse_version} >= 1550 BuildRequires: dbus-1-daemon +%endif BuildRequires: gnome-keyring %endif %python_subpackages