|
|
e2323e |
Name: redfish-finder
|
|
|
e2323e |
Version: 0.3
|
|
|
e2323e |
Release: 3%{?dist}
|
|
|
e2323e |
Summary: Utility for parsing SMBIOS information and configuring canonical BMC access
|
|
|
e2323e |
BuildArch: noarch
|
|
|
e2323e |
|
|
|
e2323e |
License: GPLv2
|
|
|
e2323e |
URL: https://github.com/nhorman/redfish-finder
|
|
|
e2323e |
Source0: %url/archive/V%{version}/%{name}-%{version}.tar.gz
|
|
|
e2323e |
|
|
|
e2323e |
Patch0: redfish-finder-python2.patch
|
|
|
e2323e |
|
|
|
e2323e |
%{?systemd_requires}
|
|
|
e2323e |
BuildRequires: systemd
|
|
|
e2323e |
|
|
|
e2323e |
Requires: python2 NetworkManager
|
|
|
e2323e |
Requires: dmidecode >= 1:3.2
|
|
|
e2323e |
|
|
|
e2323e |
%description
|
|
|
e2323e |
Scans Smbios information for type 42 management controller information, and uses
|
|
|
e2323e |
that to configure the appropriate network interface so that the BMC is
|
|
|
e2323e |
canonically accessible via the host name redfish-localhost
|
|
|
e2323e |
|
|
|
e2323e |
%prep
|
|
|
e2323e |
%autosetup
|
|
|
e2323e |
|
|
|
e2323e |
|
|
|
e2323e |
%build
|
|
|
e2323e |
#noop here
|
|
|
e2323e |
|
|
|
e2323e |
%install
|
|
|
e2323e |
install -D -p -m 0755 redfish-finder %{buildroot}/%{_bindir}/redfish-finder
|
|
|
e2323e |
install -D -p -m 0644 redfish-finder.1 %{buildroot}/%{_mandir}/man1/redfish-finder.1
|
|
|
e2323e |
install -D -p -m 0644 ./redfish-finder.service %{buildroot}/%{_unitdir}/redfish-finder.service
|
|
|
e2323e |
|
|
|
e2323e |
%post
|
|
|
e2323e |
%systemd_post redfish-finder.service
|
|
|
e2323e |
|
|
|
e2323e |
%preun
|
|
|
e2323e |
%systemd_preun redfish-finder.service
|
|
|
e2323e |
|
|
|
e2323e |
%postun
|
|
|
e2323e |
%systemd_postun_with_restart redfish-finder.service
|
|
|
e2323e |
|
|
|
e2323e |
|
|
|
e2323e |
%files
|
|
|
e2323e |
%doc README.md
|
|
|
e2323e |
%license COPYING
|
|
|
e2323e |
%{_bindir}/redfish-finder
|
|
|
e2323e |
%{_mandir}/man1/redfish-finder.1.*
|
|
|
e2323e |
%{_unitdir}/redfish-finder.service
|
|
|
e2323e |
|
|
|
e2323e |
%changelog
|
|
|
e2323e |
* Mon Jun 03 2019 Neil Horman <nhorman@redhat.com> - 0.3-3
|
|
|
e2323e |
- Update Requires for dmidecode (bz 1515078)
|
|
|
e2323e |
|
|
|
e2323e |
* Thu May 23 2019 Neil Horman <nhorman@redhat.com> - 0.3-2
|
|
|
e2323e |
- Update to use python2 and correct dmidecode dep (bz 1515078)
|
|
|
e2323e |
|
|
|
e2323e |
* Wed Mar 06 2019 Neil Horman <nhorman@redhat.com> - 0.3-1
|
|
|
e2323e |
- Update to latest upstream release
|
|
|
e2323e |
|
|
|
e2323e |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-2
|
|
|
e2323e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
e2323e |
|
|
|
e2323e |
* Fri Oct 19 2018 Neil Horman <nhorman@redhat.com> - 0.2-1
|
|
|
e2323e |
- Update to new upstream release
|
|
|
e2323e |
|
|
|
e2323e |
* Thu Oct 04 2018 Neil Horman <nhorman@tuxdriver.com> - 0.1-3
|
|
|
e2323e |
- Fixed missing BuildRequires/Requires
|
|
|
e2323e |
- Fixed missing dist tag
|
|
|
e2323e |
- Fixed Source url
|
|
|
e2323e |
|
|
|
e2323e |
* Wed Oct 03 2018 Neil Horman <nhorman@tuxdriver.com> - 0.1-2
|
|
|
e2323e |
- Updated requires for python3
|
|
|
e2323e |
- Removed unneeded BuildRequires
|
|
|
e2323e |
- Globed the inclusion of man page
|
|
|
e2323e |
- Fixed license file tagging
|
|
|
e2323e |
|
|
|
e2323e |
* Mon Oct 01 2018 Neil Horman <nhorman@tuxdriver.com> - 0.1-1
|
|
|
e2323e |
- Initial import
|
|
|
e2323e |
|