Accepting request 894429 from security:SELinux

Needed by setroubleshoot

OBS-URL: https://build.opensuse.org/request/show/894429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dasbus?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2021-05-20 17:25:01 +00:00 committed by Git OBS Bridge
commit 0c73133efe
5 changed files with 99 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
dasbus-1.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ccb8687a826271e099ab3590e21f2d32016b0e60d4b42e2a04f3d20ffb8d7c87
size 71714

17
python-dasbus.changes Normal file
View File

@ -0,0 +1,17 @@
-------------------------------------------------------------------
Wed May 19 16:03:56 UTC 2021 - Predrag Ivanović <predivan@mts.rs>
- Update to dasbus-1.5
* Provide additional info about the DBus call (vponcova)
* Rename TestMessageBus class to silence pytest warning (luca)
* Fix the raise-missing-from warning (vponcova)
- Add gobject-introspection to BuildRequires
Needed for typelib() requires auto-detection.
- Require python-gobject instead of python3-gobject
Otherwise every built python flavor (3.6, 3.8, and 3.9) will depend on python 3.8.
-------------------------------------------------------------------
Mon Mar 15 16:01:09 UTC 2021 - Predrag Ivanović <predivan@mts.rs>
- Initial packaging.

55
python-dasbus.spec Normal file
View File

@ -0,0 +1,55 @@
#
# spec file for package python-dasbus
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-dasbus
Version: 1.5
Release: 0
Summary: DBus library in Python 3
License: LGPL-2.0-or-later
Group: Development/Libraries/Python
URL: https://github.com/rhinstaller/dasbus
Source: https://files.pythonhosted.org/packages/source/d/dasbus/dasbus-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: gobject-introspection
BuildRequires: fdupes
Requires: python-gobject
BuildArch: noarch
%python_subpackages
%description
DBus library in Python 3, based on GLib and inspired by pydbus.
%prep
%setup -q -n dasbus-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%changelog