fb4c591
# Created by pyp2rpm-3.3.2
fb4c591
%global pypi_name collectd-puppet
fb4c591
%global module_name collectd_puppet
fb4c591
fb4c591
Name:           python-%{module_name}
fb4c591
Version:        2.0.0
c9becd2
Release:        19%{?dist}
fb4c591
Summary:        Collectd plugin to monitor puppet agents
fb4c591
fb4c591
License:        ASL 2.0
fb4c591
URL:            https://github.com/cernops/collectd-puppet
fb4c591
Source0:        https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{module_name}-%{version}.tar.gz
fb4c591
BuildArch:      noarch
fb4c591
fb4c591
Requires:       collectd-python
fb4c591
fb4c591
BuildRequires:  python3-devel
fb4c591
BuildRequires:  python3dist(setuptools)
1607e46
BuildRequires:  systemd-rpm-macros
fb4c591
fb4c591
fb4c591
%description
fb4c591
Collectd plugin for puppet run status.
fb4c591
fb4c591
%package -n     python3-%{module_name}
fb4c591
Summary:        %{summary}
fb4c591
%{?python_provide:%python_provide python3-%{module_name}}
fb4c591
fb4c591
Requires:       python3dist(pyyaml)
fb4c591
%description -n python3-%{module_name}
fb4c591
Collectd plugin for puppet run status.
fb4c591
fb4c591
%prep
fb4c591
%autosetup -n %{module_name}-%{version}
fb4c591
# Remove bundled egg_info
fb4c591
rm -r src/%{module_name}.egg-info
fb4c591
fb4c591
%build
fb4c591
%py3_build
fb4c591
fb4c591
%install
fb4c591
%py3_install
fb4c591
1607e46
%postun
1607e46
%systemd_postun_with_restart collectd.service
1607e46
fb4c591
%files -n python3-%{module_name}
fb4c591
%license LICENSE
fb4c591
%doc README.rst NEWS.rst
fb4c591
%{_datadir}/collectd/puppet_types.db
fb4c591
%{python3_sitelib}/%{module_name}
44ab41b
%{python3_sitelib}/%{module_name}-%{version}-py%{python3_version}.egg-info
fb4c591
fb4c591
%changelog
c9becd2
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-19
c9becd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
c9becd2
d408df9
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-18
d408df9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
d408df9
418bddf
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-17
418bddf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
418bddf
33f09c9
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.0.0-16
33f09c9
- Rebuilt for Python 3.12
33f09c9
966bcc8
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-15
966bcc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
966bcc8
8120382
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-14
8120382
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
8120382
df25a57
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.0-13
df25a57
- Rebuilt for Python 3.11
df25a57
aaf25c5
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-12
aaf25c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
aaf25c5
a7d0f19
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-11
a7d0f19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a7d0f19
c1d0024
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.0-10
c1d0024
- Rebuilt for Python 3.10
c1d0024
08c193d
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-9
08c193d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
08c193d
c0d20ec
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-8
c0d20ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c0d20ec
ae9e831
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-7
ae9e831
- Rebuilt for Python 3.9
ae9e831
1607e46
* Fri Feb 14 2020 Steve Traylen <steve.traylen@cern.ch> - 2.0.0-7
1607e46
- condrestart collectd on upgrade
1607e46
1ba0f50
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
1ba0f50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1ba0f50
8dfe9e1
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-4
8dfe9e1
- Rebuilt for Python 3.8.0rc1 (#1748018)
8dfe9e1
88fe8d9
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-3
88fe8d9
- Rebuilt for Python 3.8
88fe8d9
a02e999
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
a02e999
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a02e999
fb4c591
* Fri Jun 14 2019 Steve Traylen <steve.traylen@cern.ch> - 2.0.0-1
fb4c591
- Update to 2.0.0
fb4c591
fb4c591
* Wed Feb 06 2019 Steve Traylen <steve.traylen@cern.ch> - 1.5.1-1
fb4c591
- Initial package.