2012-10-12 07:06:34 +00:00
|
|
|
%global modname dbusmock
|
|
|
|
|
|
|
|
Name: python-%{modname}
|
2021-02-12 12:59:24 +00:00
|
|
|
Version: 0.22.0
|
2021-06-04 18:28:06 +00:00
|
|
|
Release: 4%{?dist}
|
2012-10-12 07:06:34 +00:00
|
|
|
Summary: Mock D-Bus objects
|
|
|
|
|
|
|
|
License: LGPLv3+
|
2018-01-19 15:20:40 +00:00
|
|
|
URL: https://pypi.python.org/pypi/python-dbusmock
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
|
2012-10-12 07:06:34 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
2019-11-15 09:52:01 +00:00
|
|
|
BuildRequires: git
|
2019-11-14 13:41:07 +00:00
|
|
|
BuildRequires: python3-dbus
|
2014-07-17 14:18:31 +00:00
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
2019-11-14 14:20:58 +00:00
|
|
|
BuildRequires: python3-gobject
|
2019-07-23 21:46:58 +00:00
|
|
|
BuildRequires: dbus-x11
|
|
|
|
BuildRequires: upower
|
2012-10-12 07:06:34 +00:00
|
|
|
|
2021-03-22 16:05:41 +00:00
|
|
|
# https://github.com/martinpitt/python-dbusmock/pull/66
|
|
|
|
Patch0: bluez-agent-template.patch
|
|
|
|
|
2017-08-19 13:40:05 +00:00
|
|
|
%global _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\
|
2012-10-12 07:06:34 +00:00
|
|
|
the state of the real services to what you expect in your tests.
|
|
|
|
|
2017-08-19 13:40:05 +00:00
|
|
|
%description %_description
|
|
|
|
|
2014-07-17 14:18:31 +00:00
|
|
|
%package -n python3-dbusmock
|
2018-03-30 15:50:15 +00:00
|
|
|
Summary: %summary (Python3)
|
|
|
|
Requires: python3-dbus, python3-gobject, dbus-x11
|
|
|
|
%description -n python3-dbusmock %_description
|
2012-10-12 07:06:34 +00:00
|
|
|
|
|
|
|
%prep
|
2019-11-15 09:52:01 +00:00
|
|
|
%autosetup -n %{name}-%{version} -S git
|
2012-10-12 07:06:34 +00:00
|
|
|
rm -rf python-%{modname}.egg-info
|
|
|
|
|
2014-07-17 14:18:31 +00:00
|
|
|
|
2012-10-12 07:06:34 +00:00
|
|
|
%build
|
2019-07-23 21:46:58 +00:00
|
|
|
%py3_build
|
2012-10-12 07:06:34 +00:00
|
|
|
|
|
|
|
%install
|
2019-07-23 21:46:58 +00:00
|
|
|
%py3_install
|
2012-10-12 07:06:34 +00:00
|
|
|
|
|
|
|
%check
|
2021-03-01 13:06:29 +00:00
|
|
|
%{__python3} -m unittest -v
|
2012-10-12 07:06:34 +00:00
|
|
|
|
2014-07-17 14:18:31 +00:00
|
|
|
%files -n python3-dbusmock
|
|
|
|
%doc README.rst COPYING
|
|
|
|
%{python3_sitelib}/*%{modname}*
|
2012-10-12 07:06:34 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-06-04 18:28:06 +00:00
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.22.0-4
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-03-22 16:05:41 +00:00
|
|
|
* Mon Mar 22 2021 Bastien Nocera <bnocera@redhat.com> - 0.22.0-3
|
|
|
|
+ python-dbusmock-0.22.0-3
|
|
|
|
- Add bluez agent templates for the benefit of gnome-bluetooth
|
|
|
|
|
2021-03-01 13:06:29 +00:00
|
|
|
* Mon Mar 01 2021 Charalampos Stratakis <cstratak@redhat.com> - 0.22.0-2
|
|
|
|
- Remove redundant dependency on python3-nose
|
|
|
|
|
2021-02-12 12:59:24 +00:00
|
|
|
* Fri Feb 12 2021 Bastien Nocera <bnocera@redhat.com> - 0.22.0-1
|
|
|
|
+ python-dbusmock-0.22.0-1
|
|
|
|
- Update to 0.22.0
|
2021-02-16 13:29:01 +00:00
|
|
|
- Disable tests
|
2021-02-12 12:59:24 +00:00
|
|
|
|
2021-01-27 10:10:44 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 00:32:32 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-26 01:10:12 +00:00
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.18.3-4
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-01-30 11:35:29 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-11-15 09:52:01 +00:00
|
|
|
* Fri Nov 15 2019 Bastien Nocera <bnocera@redhat.com> - 0.18.3-2
|
|
|
|
+ python-dbusmock-0.18.3-2
|
|
|
|
- Add low-memory-monitor mock
|
|
|
|
|
2019-11-14 13:17:26 +00:00
|
|
|
* Thu Nov 14 2019 Bastien Nocera <bnocera@redhat.com> - 0.18.3-1
|
|
|
|
+ python-dbusmock-0.18.3-1
|
|
|
|
- Update to 0.18.3
|
|
|
|
- Enable tests
|
|
|
|
|
2019-10-03 12:08:36 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17-11
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-19 08:34:00 +00:00
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17-10
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-26 13:00:21 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-23 21:46:58 +00:00
|
|
|
* Tue Jul 23 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17-8
|
|
|
|
- Subpackage python2-dbusmock has been removed
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
2019-02-02 06:19:21 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 23:57:21 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 08:58:36 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.17-5
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-03-30 15:50:15 +00:00
|
|
|
* Fri Mar 30 2018 Bastien Nocera <bnocera@redhat.com> - 0.17-4
|
|
|
|
+ python-dbusmock-0.17-4
|
|
|
|
- Patch from Benjamin Berg to correct the python3 subpackage deps
|
|
|
|
and summary
|
|
|
|
|
2018-02-12 00:35:45 +00:00
|
|
|
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.17-3
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2018-02-09 07:19:15 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-19 15:20:40 +00:00
|
|
|
* Fri Jan 19 2018 Bastien Nocera <bnocera@redhat.com> - 0.17-1
|
|
|
|
- Update to 0.17
|
|
|
|
- Update source URL
|
|
|
|
|
2017-10-17 17:15:12 +00:00
|
|
|
* Tue Oct 17 2017 Bastien Nocera <bnocera@redhat.com> - 0.16.9-1
|
|
|
|
+ python--0.16.9-1
|
|
|
|
- Update to 0.16.9
|
|
|
|
|
2017-08-19 13:40:05 +00:00
|
|
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.16.7-4
|
|
|
|
- Python 2 binary package renamed to python2-dbusmock
|
|
|
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
|
|
2017-07-27 10:00:53 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 08:43:04 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-17 10:23:20 +00:00
|
|
|
* Tue Jan 17 2017 Bastien Nocera <bnocera@redhat.com> - 0.16.7-1
|
|
|
|
+ python-dbusmock-0.16.7-1
|
|
|
|
- Update to 0.16.7
|
|
|
|
|
2016-12-19 17:20:37 +00:00
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.11.1-6
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-07-19 09:21:20 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-5
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-02-04 19:19:58 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-10 15:32:15 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-06-18 18:54:07 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-08 14:51:10 +00:00
|
|
|
* Fri Aug 08 2014 Matěj Cepl <mcepl@redhat.com> - 0.11.1-1
|
|
|
|
- Update to 0.11.1
|
|
|
|
|
2014-07-17 14:18:31 +00:00
|
|
|
* Thu Jul 17 2014 Bastien Nocera <bnocera@redhat.com> 0.10.3-2
|
|
|
|
- Add Python3 sub-package
|
|
|
|
|
2014-07-17 14:12:02 +00:00
|
|
|
* Thu Jul 17 2014 Bastien Nocera <bnocera@redhat.com> 0.10.3-1
|
|
|
|
- Update to 0.10.3
|
|
|
|
|
2014-06-07 19:21:59 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-11-12 07:20:44 +00:00
|
|
|
* Tue Nov 12 2013 Bastien Nocera <bnocera@redhat.com> 0.8.1-1
|
|
|
|
- Update to 0.8.1
|
|
|
|
|
2013-11-08 11:08:39 +00:00
|
|
|
* Fri Nov 08 2013 Bastien Nocera <bnocera@redhat.com> 0.8-1
|
|
|
|
- Update to 0.8
|
|
|
|
|
2013-08-04 06:55:32 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-13 12:54:42 +00:00
|
|
|
* Thu Jun 13 2013 Bastien Nocera <bnocera@redhat.com> 0.6.3-1
|
|
|
|
- Update to 0.6.3
|
|
|
|
|
2013-06-13 10:22:43 +00:00
|
|
|
* Thu Jun 13 2013 Bastien Nocera <bnocera@redhat.com> 0.6.2-1
|
|
|
|
- Update to 0.6.2
|
|
|
|
|
2013-06-12 12:27:23 +00:00
|
|
|
* Wed Jun 12 2013 Bastien Nocera <bnocera@redhat.com> 0.6-1
|
2013-06-12 11:51:35 +00:00
|
|
|
- Update to 0.6.0
|
|
|
|
|
2013-02-14 19:12:46 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-21 13:57:24 +00:00
|
|
|
* Mon Jan 21 2013 Bastien Nocera <bnocera@redhat.com> 0.4.0-1
|
|
|
|
- Update to 0.4.0
|
|
|
|
|
2013-01-07 09:27:40 +00:00
|
|
|
* Mon Jan 07 2013 Bastien Nocera <bnocera@redhat.com> 0.3.1-1
|
|
|
|
- Update to 0.3.1
|
|
|
|
|
2012-12-19 19:48:22 +00:00
|
|
|
* Wed Dec 19 2012 Matěj Cepl <mcepl@redhat.com> - 0.3-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2012-10-12 07:06:34 +00:00
|
|
|
* Mon Oct 08 2012 Matěj Cepl <mcepl@redhat.com> - 0.1.1-2
|
|
|
|
- remove the bundled egg-info following the package review.
|
|
|
|
|
|
|
|
* Fri Oct 05 2012 Matěj Cepl <mcepl@redhat.com> - 0.1.1-1
|
|
|
|
- This version should actually work
|
|
|
|
|
|
|
|
* Tue Oct 02 2012 Matěj Cepl <mcepl@redhat.com> 0.0.3-1
|
|
|
|
- initial package for Fedora
|