1 | %global modname dbusmock |
---|
2 | |
---|
3 | Summary: Mock D-Bus objects |
---|
4 | Name: python-%{modname} |
---|
5 | Version: 0.18.3 |
---|
6 | Release: 6%{?_dist_release} |
---|
7 | Vendor: Project Vine |
---|
8 | Distribution: Vine Linux |
---|
9 | |
---|
10 | License: LGPLv3+ |
---|
11 | URL: https://pypi.python.org/pypi/python-dbusmock |
---|
12 | Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz |
---|
13 | # From https://github.com/martinpitt/python-dbusmock/pull/54 |
---|
14 | Patch0: 0001-Add-mock-server-for-low-memory-monitor.patch |
---|
15 | |
---|
16 | BuildArch: noarch |
---|
17 | BuildRequires: git |
---|
18 | BuildRequires: dbus-python3 |
---|
19 | BuildRequires: python3-devel |
---|
20 | BuildRequires: python3-rpm-macros |
---|
21 | BuildRequires: python3-setuptools |
---|
22 | BuildRequires: python3-nose |
---|
23 | BuildRequires: python3-pygobject |
---|
24 | BuildRequires: dbus-x11 |
---|
25 | BuildRequires: upower |
---|
26 | |
---|
27 | %global _description\ |
---|
28 | With this program/Python library you can easily create mock objects on\ |
---|
29 | D-Bus. This is useful for writing tests for software which talks to\ |
---|
30 | D-Bus services such as upower, systemd, ConsoleKit, gnome-session or\ |
---|
31 | others, and it is hard (or impossible without root privileges) to set\ |
---|
32 | the state of the real services to what you expect in your tests. |
---|
33 | |
---|
34 | %description %_description |
---|
35 | |
---|
36 | |
---|
37 | %package -n python3-dbusmock |
---|
38 | Summary: %summary (Python3) |
---|
39 | Requires: dbus-python3, python3-pygobject, dbus-x11 |
---|
40 | %description -n python3-dbusmock %_description |
---|
41 | |
---|
42 | |
---|
43 | %prep |
---|
44 | %autosetup -n %{name}-%{version} -S git |
---|
45 | rm -rf python-%{modname}.egg-info |
---|
46 | |
---|
47 | |
---|
48 | %build |
---|
49 | %py3_build |
---|
50 | |
---|
51 | |
---|
52 | %install |
---|
53 | %py3_install |
---|
54 | |
---|
55 | |
---|
56 | #check |
---|
57 | # Tests are disabled for now |
---|
58 | #{__python3} setup.py test |
---|
59 | |
---|
60 | |
---|
61 | %files -n python3-dbusmock |
---|
62 | %license COPYING |
---|
63 | %doc README.rst |
---|
64 | %{python3_sitelib}/*%{modname}* |
---|
65 | |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.18.3-6 |
---|
69 | - initial build for Vine Linux. |
---|
70 | |
---|
71 | * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.3-5 |
---|
72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild |
---|
73 | |
---|
74 | * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.18.3-4 |
---|
75 | - Rebuilt for Python 3.9 |
---|
76 | |
---|
77 | * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.3-3 |
---|
78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
---|
79 | |
---|
80 | * Fri Nov 15 2019 Bastien Nocera <bnocera@redhat.com> - 0.18.3-2 |
---|
81 | + python-dbusmock-0.18.3-2 |
---|
82 | - Add low-memory-monitor mock |
---|
83 | |
---|
84 | * Thu Nov 14 2019 Bastien Nocera <bnocera@redhat.com> - 0.18.3-1 |
---|
85 | + python-dbusmock-0.18.3-1 |
---|
86 | - Update to 0.18.3 |
---|
87 | - Enable tests |
---|
88 | |
---|
89 | * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17-11 |
---|
90 | - Rebuilt for Python 3.8.0rc1 (#1748018) |
---|
91 | |
---|
92 | * Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17-10 |
---|
93 | - Rebuilt for Python 3.8 |
---|
94 | |
---|
95 | * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-9 |
---|
96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
97 | |
---|
98 | * Tue Jul 23 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17-8 |
---|
99 | - Subpackage python2-dbusmock has been removed |
---|
100 | See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal |
---|
101 | |
---|
102 | * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-7 |
---|
103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
104 | |
---|
105 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-6 |
---|
106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
107 | |
---|
108 | * Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.17-5 |
---|
109 | - Rebuilt for Python 3.7 |
---|
110 | |
---|
111 | * Fri Mar 30 2018 Bastien Nocera <bnocera@redhat.com> - 0.17-4 |
---|
112 | + python-dbusmock-0.17-4 |
---|
113 | - Patch from Benjamin Berg to correct the python3 subpackage deps |
---|
114 | and summary |
---|
115 | |
---|
116 | * Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.17-3 |
---|
117 | - Update Python 2 dependency declarations to new packaging standards |
---|
118 | (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) |
---|
119 | |
---|
120 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-2 |
---|
121 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
122 | |
---|
123 | * Fri Jan 19 2018 Bastien Nocera <bnocera@redhat.com> - 0.17-1 |
---|
124 | - Update to 0.17 |
---|
125 | - Update source URL |
---|
126 | |
---|
127 | * Tue Oct 17 2017 Bastien Nocera <bnocera@redhat.com> - 0.16.9-1 |
---|
128 | + python--0.16.9-1 |
---|
129 | - Update to 0.16.9 |
---|
130 | |
---|
131 | * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.16.7-4 |
---|
132 | - Python 2 binary package renamed to python2-dbusmock |
---|
133 | See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 |
---|
134 | |
---|
135 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.7-3 |
---|
136 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
137 | |
---|
138 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.7-2 |
---|
139 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
140 | |
---|
141 | * Tue Jan 17 2017 Bastien Nocera <bnocera@redhat.com> - 0.16.7-1 |
---|
142 | + python-dbusmock-0.16.7-1 |
---|
143 | - Update to 0.16.7 |
---|
144 | |
---|
145 | * Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.11.1-6 |
---|
146 | - Rebuild for Python 3.6 |
---|
147 | |
---|
148 | * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-5 |
---|
149 | - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages |
---|
150 | |
---|
151 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-4 |
---|
152 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
153 | |
---|
154 | * Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-3 |
---|
155 | - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 |
---|
156 | |
---|
157 | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-2 |
---|
158 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
159 | |
---|
160 | * Fri Aug 08 2014 Matěj Cepl <mcepl@redhat.com> - 0.11.1-1 |
---|
161 | - Update to 0.11.1 |
---|
162 | |
---|
163 | * Thu Jul 17 2014 Bastien Nocera <bnocera@redhat.com> 0.10.3-2 |
---|
164 | - Add Python3 sub-package |
---|
165 | |
---|
166 | * Thu Jul 17 2014 Bastien Nocera <bnocera@redhat.com> 0.10.3-1 |
---|
167 | - Update to 0.10.3 |
---|
168 | |
---|
169 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2 |
---|
170 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
171 | |
---|
172 | * Tue Nov 12 2013 Bastien Nocera <bnocera@redhat.com> 0.8.1-1 |
---|
173 | - Update to 0.8.1 |
---|
174 | |
---|
175 | * Fri Nov 08 2013 Bastien Nocera <bnocera@redhat.com> 0.8-1 |
---|
176 | - Update to 0.8 |
---|
177 | |
---|
178 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2 |
---|
179 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
180 | |
---|
181 | * Thu Jun 13 2013 Bastien Nocera <bnocera@redhat.com> 0.6.3-1 |
---|
182 | - Update to 0.6.3 |
---|
183 | |
---|
184 | * Thu Jun 13 2013 Bastien Nocera <bnocera@redhat.com> 0.6.2-1 |
---|
185 | - Update to 0.6.2 |
---|
186 | |
---|
187 | * Wed Jun 12 2013 Bastien Nocera <bnocera@redhat.com> 0.6-1 |
---|
188 | - Update to 0.6.0 |
---|
189 | |
---|
190 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2 |
---|
191 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
192 | |
---|
193 | * Mon Jan 21 2013 Bastien Nocera <bnocera@redhat.com> 0.4.0-1 |
---|
194 | - Update to 0.4.0 |
---|
195 | |
---|
196 | * Mon Jan 07 2013 Bastien Nocera <bnocera@redhat.com> 0.3.1-1 |
---|
197 | - Update to 0.3.1 |
---|
198 | |
---|
199 | * Wed Dec 19 2012 Matěj Cepl <mcepl@redhat.com> - 0.3-1 |
---|
200 | - New upstream release. |
---|
201 | |
---|
202 | * Mon Oct 08 2012 Matěj Cepl <mcepl@redhat.com> - 0.1.1-2 |
---|
203 | - remove the bundled egg-info following the package review. |
---|
204 | |
---|
205 | * Fri Oct 05 2012 Matěj Cepl <mcepl@redhat.com> - 0.1.1-1 |
---|
206 | - This version should actually work |
---|
207 | |
---|
208 | * Tue Oct 02 2012 Matěj Cepl <mcepl@redhat.com> 0.0.3-1 |
---|
209 | - initial package for Fedora |
---|