Package python3-module-dbusmock: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | %define modname dbusmock %define _name python-%modname %def_enable check Name: python3-module-dbusmock Version: 0.26.1 Release: alt1 Summary: mock D-Bus objects for tests License: LGPL-3.0-or-later Group: Development/Python3 Url: https://github.com/martinpitt/python-dbusmock # https://pypi.python.org/pypi/%_name Source: %url/releases/download/%version/%_name-%version.tar.gz BuildArch: noarch Requires: dbus BuildRequires(pre): rpm-build-python3 rpm-build-gir BuildRequires: python3-devel python3-module-setuptools %if_enabled check BuildRequires: /proc dbus-tools-gui %_bindir/notify-send %_bindir/nmcli upower bluez BuildRequires: python3-module-dbus-gobject python3-module-pycodestyle # polkit tests fail since 0.115-alt4 #BuildRequires: polkit %endif %description With this program/Python library you can easily create mock objects on D-Bus. This is useful for writing tests for software which talks to D-Bus services such as upower, systemd, ConsoleKit, gnome-session or others, and it is hard (or impossible without root privileges) to set the state of the real services to what you expect in your tests. See %_docdir/%name-%version/README.rst for more information. %prep %setup -n %_name-%version %build %python3_build %install %python3_install %check %__python3 -m unittest %files %python3_sitelibdir_noarch/%modname/ %doc NEWS PKG-INFO README* %changelog * Thu Mar 03 2022 Yuri N. Sedunov <aris@altlinux.org> 0.26.1-alt1 - 0.26.1 * Sat Dec 25 2021 Yuri N. Sedunov <aris@altlinux.org> 0.25.0-alt1 - 0.25.0 * Thu Oct 28 2021 Yuri N. Sedunov <aris@altlinux.org> 0.24.1-alt1 - 0.24.1 * Sat Aug 28 2021 Yuri N. Sedunov <aris@altlinux.org> 0.24.0-alt1 - 0.24.0 * Wed Jun 16 2021 Yuri N. Sedunov <aris@altlinux.org> 0.23.1-alt1 - 0.23.1 * Fri Mar 26 2021 Yuri N. Sedunov <aris@altlinux.org> 0.23.0-alt1 - 0.23.0 * Sat Jan 02 2021 Yuri N. Sedunov <aris@altlinux.org> 0.22.0-alt1 - 0.22.0 * Fri Jan 01 2021 Yuri N. Sedunov <aris@altlinux.org> 0.21.0-alt1 - 0.21.0 * Sun Dec 20 2020 Yuri N. Sedunov <aris@altlinux.org> 0.20.0-alt1 - 0.20.0 (python3-only) * Fri May 01 2020 Yuri N. Sedunov <aris@altlinux.org> 0.19-alt2 - fixed python2 build * Fri Jan 10 2020 Yuri N. Sedunov <aris@altlinux.org> 0.19-alt1 - 0.19 * Thu Dec 26 2019 Yuri N. Sedunov <aris@altlinux.org> 0.18.3-alt2 - fixed BR after python-module-dbus split - made python2 build optional * Mon Sep 09 2019 Yuri N. Sedunov <aris@altlinux.org> 0.18.3-alt1 - 0.18.3 * Sun Feb 24 2019 Yuri N. Sedunov <aris@altlinux.org> 0.18.2-alt1 - 0.18.2 * Thu Jan 10 2019 Yuri N. Sedunov <aris@altlinux.org> 0.18.1-alt1.1 - skipped broken polkit tests * Thu Nov 22 2018 Yuri N. Sedunov <aris@altlinux.org> 0.18.1-alt1 - 0.18.1 * Mon Jul 02 2018 Yuri N. Sedunov <aris@altlinux.org> 0.18-alt1 - 0.18 * Fri Mar 02 2018 Yuri N. Sedunov <aris@altlinux.org> 0.17.2-alt1 - 0.17.2 * Mon Feb 26 2018 Yuri N. Sedunov <aris@altlinux.org> 0.17.1-alt1 - 0.17.1 * Thu Feb 01 2018 Yuri N. Sedunov <aris@altlinux.org> 0.17-alt2 - fixed buildreqs * Mon Nov 20 2017 Yuri N. Sedunov <aris@altlinux.org> 0.17-alt1 - 0.17 * Wed Aug 02 2017 Yuri N. Sedunov <aris@altlinux.org> 0.16.9-alt2 - rebuilt with rpm-build-gir * Tue Jun 20 2017 Yuri N. Sedunov <aris@altlinux.org> 0.16.9-alt1 - 0.16.9 * Wed Jun 14 2017 Yuri N. Sedunov <aris@altlinux.org> 0.16.8-alt1 - 0.16.8 * Tue Nov 01 2016 Yuri N. Sedunov <aris@altlinux.org> 0.16.7-alt1 - 0.16.7 * Fri Jun 17 2016 Yuri N. Sedunov <aris@altlinux.org> 0.16.4-alt1 - first build for Sisyphus |