upstream/openstack/stx-ocf-scripts/centos/stx-ocf-scripts.spec
Scott Little 513ca68802 Move StarlingX OCF scripts into a stand alone package.
The following upstream projects did not have OCF scripts and these were
created for StarlingX:

aodh-api
aodh-evaluator
aodh-listener
aodh-notifier
ceilometer-agent-notification
heat-api
heat-api-cfn
heat-api-cloudwatch
ironic-api
ironic-conductor
magnum-api
magnum-conductor
murano-api
murano-engine
nova-conductor
nova-placement-api
nova-serialproxy
panko-api

Move these out of stx/git.openstack-ras and place them into a seperate
package within the openstack/stx-upstream repo.

Depends-On: I080b6e893d5f6ccff04951879eed71e8ccbe0b52
Change-Id: I6bec51c7401339f4c71f9558d73389d0c793093d
Story: 2003715
Task:  26375
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-09-25 13:47:31 -04:00

31 lines
667 B
RPMSpec

Summary: Miscellaneous OCF scripts added by StarlingX
Name: stx-ocf-scripts
Version: 1.0
Release: %{tis_patch_ver}%{?_tis_dist}
License: Apache-2.0
Group: base
Packager: Wind River <info@windriver.com>
URL: unknown
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
Requires: openstack-ras
%description
Miscellaneous OCF scripts added by StarlingX
%prep
%setup
%build
%install
install -d -m 755 ${RPM_BUILD_ROOT}/usr/lib/ocf/resource.d/openstack
install -p -D -m 755 ocf/* ${RPM_BUILD_ROOT}/usr/lib/ocf/resource.d/openstack/
%files
%dir %attr(0755,root,root) /usr/lib/ocf/resource.d/openstack
%defattr(-,root,root,-)
/usr/lib/ocf/resource.d/openstack/*