mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
* rpower for redfish support * rsetboot for redfish support * recover * modify depending on discussion and comments * refine test case xcatd_start (#5932) * Update small text in the diskful support example for cuda_power9_setup Fix small issue mentioned in 5852 * rsetboot for redfish support * Fix issue 5933: xCAT-openbmc-py build failed * Fix remoteshell compatibility with custom Match (#5936) If a user has a custom Match directive, remoteshell would create an invalid configuration. Fix by ensuring we are outside of a match context by doing Match all explicitly. * fix issue PR #5936 resulted in remoteshell failed in rhels6.10 #5944 * refine xcat-inventory backend testcase (#5946) * add test case for issue 3602: confignetwork cannot work when regular expression is used in nics table * add lsdef to get more debug info * Revert "fix issue PR #5936 resulted in remoteshell failed in rhels6.10 #5944" * revert PR Fix remoteshell compatibility with custom Match #5936
67 lines
1.9 KiB
RPMSpec
67 lines
1.9 KiB
RPMSpec
Summary: xCAT openbmc python
|
|
Name: xCAT-openbmc-py
|
|
Version: %{?version:%{version}}%{!?version:%(cat Version)}
|
|
Release: %{?release:%{release}}%{!?release:snap%(date +"%Y%m%d%H%M")}
|
|
Epoch: 1
|
|
License: EPL
|
|
Group: Applications/System
|
|
Source: xCAT-openbmc-py-%{version}.tar.gz
|
|
Packager: IBM Corp.
|
|
Vendor: IBM Corp.
|
|
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
|
|
Prefix: /opt/xcat
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
|
|
|
|
%ifnos linux
|
|
AutoReqProv: no
|
|
%endif
|
|
|
|
BuildArch: noarch
|
|
Requires: xCAT-server
|
|
Requires: python-gevent >= 1.2.2-2
|
|
Requires: python-greenlet >= 0.4.13-2
|
|
Requires: python-paramiko >= 2.0.0
|
|
Requires: python2-docopt python-requests python-scp
|
|
|
|
%description
|
|
xCAT-openbmc-py provides openbmc related functions.
|
|
|
|
%prep
|
|
%setup -q -n xCAT-openbmc-py
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent
|
|
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/xcatagent
|
|
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/common
|
|
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl
|
|
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl/openbmc
|
|
install -d $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl/redfish
|
|
install -m755 lib/python/agent/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent
|
|
install -m644 lib/python/agent/xcatagent/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/xcatagent
|
|
install -m644 lib/python/agent/common/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/common
|
|
install -m644 lib/python/agent/hwctl/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl
|
|
install -m644 lib/python/agent/hwctl/openbmc/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl/openbmc/
|
|
install -m644 lib/python/agent/hwctl/redfish/*.py $RPM_BUILD_ROOT/%{prefix}/lib/python/agent/hwctl/redfish/
|
|
|
|
%ifnos linux
|
|
rm -rf $RPM_BUILD_ROOT/%{prefix}/lib/python/agent
|
|
%endif
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{prefix}
|
|
|
|
%changelog
|
|
|
|
%pre
|
|
|
|
%post
|
|
|
|
%preun
|
|
|