|
|
adbf31a |
Name: configsnap
|
|
Piers Cornwell |
74110d3 |
Version: 0.13
|
|
|
b5c4d9a |
Release: 3%{?dist}
|
|
|
adbf31a |
Summary: Record and compare system state
|
|
|
adbf31a |
License: ASL 2.0
|
|
|
adbf31a |
URL: https://github.com/rackerlabs/%{name}
|
|
|
adbf31a |
Source0: https://github.com/rackerlabs/%{name}/archive/%{version}.tar.gz
|
|
|
adbf31a |
# Changes the python shebang to python2
|
|
|
adbf31a |
Patch0: python_executable.patch
|
|
|
adbf31a |
BuildArch: noarch
|
|
|
adbf31a |
BuildRequires: python2-devel
|
|
|
adbf31a |
BuildRequires: help2man
|
|
|
adbf31a |
|
|
|
adbf31a |
%description
|
|
|
adbf31a |
configsnap records important system state information and can optionally compare
|
|
|
adbf31a |
with a previous state and identify changes
|
|
|
adbf31a |
|
|
|
adbf31a |
%prep
|
|
|
adbf31a |
%setup -q
|
|
|
adbf31a |
%patch0 -p0
|
|
|
adbf31a |
|
|
|
adbf31a |
%build
|
|
Piers Cornwell |
f2edc34 |
help2man --include=%{name}.help2man --no-info ./%{name} -o %{name}.man
|
|
|
adbf31a |
|
|
|
adbf31a |
%install
|
|
Piers Cornwell |
f2edc34 |
mkdir -p %{buildroot}%{_sbindir} \
|
|
Piers Cornwell |
f2edc34 |
%{buildroot}%{_mandir}/man1 \
|
|
Piers Cornwell |
f2edc34 |
%{buildroot}%{_sysconfdir}/%{name}
|
|
|
adbf31a |
install -p -m 0755 %{name} %{buildroot}%{_sbindir}
|
|
|
adbf31a |
install -p -m 0644 %{name}.man %{buildroot}%{_mandir}/man1/%{name}.1
|
|
Piers Cornwell |
2df3b3a |
install -p -m 0600 additional.conf %{buildroot}%{_sysconfdir}/%{name}/additional.conf
|
|
|
adbf31a |
|
|
|
adbf31a |
%files
|
|
|
adbf31a |
%{!?_licensedir:%global license %doc}
|
|
|
adbf31a |
%license LICENSE
|
|
|
adbf31a |
%doc README.md
|
|
|
adbf31a |
%doc NEWS
|
|
|
adbf31a |
%doc MAINTAINERS.md
|
|
Piers Cornwell |
f2edc34 |
%config(noreplace) %{_sysconfdir}/%{name}/additional.conf
|
|
|
adbf31a |
%{_mandir}/man1/%{name}.1*
|
|
|
adbf31a |
%{_sbindir}/%{name}
|
|
Piers Cornwell |
f2edc34 |
%{_sysconfdir}/%{name}
|
|
|
adbf31a |
|
|
|
adbf31a |
%changelog
|
|
|
b5c4d9a |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-3
|
|
|
b5c4d9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b5c4d9a |
|
|
|
4d43d51 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-2
|
|
|
4d43d51 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
4d43d51 |
|
|
Piers Cornwell |
74110d3 |
* Thu Aug 17 2017 Piers Cornwell <piers.cornwell@rackspace.co.uk> 0.13-1
|
|
Piers Cornwell |
74110d3 |
- New option -a to create a tar archive of the output
|
|
Piers Cornwell |
74110d3 |
- New option -w to overwrite existing output
|
|
Piers Cornwell |
74110d3 |
- PEP8 fixes
|
|
Piers Cornwell |
74110d3 |
- Modify check for PHP presence
|
|
Piers Cornwell |
74110d3 |
|
|
|
4ee6011 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
|
|
|
4ee6011 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
4ee6011 |
|
|
Piers Cornwell |
2df3b3a |
* Mon Jun 12 2017 Piers Cornwell <piers.cornwell@rackspace.co.uk> 0.12-2
|
|
Piers Cornwell |
f2edc34 |
- Record Pacemaker status
|
|
Piers Cornwell |
f2edc34 |
- Don't raise exception if command doesn't exist
|
|
Piers Cornwell |
f2edc34 |
- Add alternative path for lspci
|
|
Piers Cornwell |
f2edc34 |
- Allow MySQL show databases to fail
|
|
Piers Cornwell |
f2edc34 |
- Record PHP state
|
|
Piers Cornwell |
f2edc34 |
- Record iptables rules
|
|
Piers Cornwell |
f2edc34 |
- Documented tested platforms
|
|
Piers Cornwell |
f2edc34 |
- Optional custom collection
|
|
Piers Cornwell |
f2edc34 |
|
|
|
e42cd42 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3
|
|
|
e42cd42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e42cd42 |
|
|
|
adbf31a |
* Wed Jan 25 2017 Christos Triantafyllidis <christos.triantafyllidis@rackspace.co.uk> 0.11-2
|
|
|
adbf31a |
- Updated spec according to Fedora Guidelines
|
|
|
adbf31a |
|
|
|
adbf31a |
* Wed Dec 21 2016 Piers Cornwell <piers.cornwell@rackspace.co.uk> 0.11-1
|
|
|
adbf31a |
- Renamed from getData to configsnap
|
|
|
adbf31a |
- Backup grubenv for grub2
|
|
|
adbf31a |
- Support for Fedora
|
|
|
adbf31a |
- Added man page
|
|
|
adbf31a |
- Record dm-multipath information
|
|
|
adbf31a |
- Continue if lvm isn't present
|
|
|
adbf31a |
- Allow PowerPath to be present, but with no LUNs
|
|
|
adbf31a |
|
|
|
adbf31a |
* Wed Jul 27 2016 Piers Cornwell <piers.cornwell@rackspace.co.uk> 0.10-1
|
|
|
adbf31a |
- Initial public release, version 0.10
|
|
|
adbf31a |
|
|
|
adbf31a |
* Mon May 9 2016 Piers Cornwell <piers.cornwell@rackspace.co.uk> 0.9-1
|
|
|
adbf31a |
- Initial standalone tagged release, version 0.9
|