-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpython-collectd_cvmfs.spec
54 lines (41 loc) · 1.4 KB
/
python-collectd_cvmfs.spec
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
# Created by pyp2rpm-3.3.2
%global pypi_name collectd_cvmfs
Name: python-%{pypi_name}
Version: 1.0.2
Release: 2%{?dist}
Summary: Collectd plugin to monitor CvmFS Clients
License: ASL 2.0
URL: https://github.com/cvmfs/collectd-cvmfs
Source0: https://github.com/cvmfs/collectd-cvmfs/archive/%{version}/collectd-cvmfs-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%description
Collectd module for CvmFS clients
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: python3dist(psutil)
Requires: python3dist(pyxattr)
Requires: collectd-python
%description -n python3-%{pypi_name}
Collectd module for CvmFS clients
%prep
%autosetup -n collectd-cvmfs-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%doc README.rst NEWS.txt
%license LICENSE
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%{_prefix}/share/collectd/%{pypi_name}.db
%changelog
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri May 25 2018 Steve Traylen <steve.traylen@cern.ch> - 1.0.1-1
- Initial package.