1 |
Summary: A set of tools to gather troubleshooting information from a system |
Summary: A set of tools to gather troubleshooting information from a system |
2 |
Name: sos |
Name: sos |
3 |
Version: 3.7 |
Version: 3.7 |
4 |
Release: %mkrel 1 |
Release: %mkrel 2 |
5 |
Group: System/Base |
Group: System/Base |
6 |
License: GPLv2+ |
License: GPLv2+ |
7 |
Url: http://sosreport.github.io/sos/ |
Url: http://sosreport.github.io/sos/ |
8 |
Source0: https://github.com/%{name}report/%{name}/archive/%{version}/%{name}-%{version}.tar.gz |
Source0: https://github.com/%{name}report/%{name}/archive/%{version}/%{name}-%{version}.tar.gz |
9 |
BuildArch: noarch |
BuildArch: noarch |
10 |
BuildRequires: pkgconfig(python2) |
BuildRequires: pkgconfig(python3) |
11 |
BuildRequires: gettext |
BuildRequires: gettext |
12 |
BuildRequires: python2dist(sphinx) |
BuildRequires: python3dist(sphinx) |
13 |
Requires: python2-libxml2 |
Requires: python3-libxml2 |
14 |
Requires: tar |
Requires: tar |
15 |
Requires: bzip2 |
Requires: bzip2 |
16 |
Requires: xz |
Requires: xz |
17 |
Requires: python2dist(futures) |
Requires: python3dist(futures) |
18 |
Requires: python2dist(rpm) |
Requires: python3dist(rpm) |
19 |
Requires: python2dist(six) |
Requires: python3dist(six) |
20 |
|
|
21 |
%description |
%description |
22 |
Sos is a set of tools that gathers information about system |
Sos is a set of tools that gathers information about system |
28 |
%setup -q |
%setup -q |
29 |
|
|
30 |
%build |
%build |
31 |
%make_build |
%make_build PYTHON="python3" |
32 |
|
|
33 |
%install |
%install |
34 |
%make_install |
%make_install PYTHON="python3" |
35 |
%find_lang %{name} |
%find_lang %{name} |
36 |
|
|
37 |
%files -f %{name}.lang |
%files -f %{name}.lang |
38 |
%doc README.md AUTHORS LICENSE |
%doc README.md AUTHORS |
39 |
%doc %{_docdir}/%{name}/html/ |
%doc %{_docdir}/%{name}/html/ |
40 |
|
%license LICENSE |
41 |
%{_sbindir}/sosreport |
%{_sbindir}/sosreport |
42 |
%{_datadir}/%{name}/ |
%{_datadir}/%{name}/ |
43 |
%{python2_sitelib}/* |
%{python3_sitelib}/* |
44 |
%{_mandir}/man1/* |
%{_mandir}/man1/* |
45 |
%{_mandir}/man5/* |
%{_mandir}/man5/* |
46 |
%config(noreplace) %{_sysconfdir}/sos.conf |
%config(noreplace) %{_sysconfdir}/sos.conf |