integ/config-files/memcached-custom/centos/memcached-custom.spec
zhipengl 9c13b8b88e Move memcached changes from platform-utils
Use mecached-custom package to package service file to system
folder instead of platform-utils.
Basic deployment test pass and service file status check pass.

Story: 2004108
Task: 27517
Depends-on: https://review.openstack.org/#/c/614085/

Change-Id: Ic66f077159be2f21caa6e8e68241aae65b9f2245
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-11-02 01:48:23 +00:00

32 lines
617 B
RPMSpec

Summary: memcached-custom
Name: memcached-custom
Version: 1.0
Release: %{tis_patch_ver}%{?_tis_dist}
License: Apache-2.0
Group: base
Packager: StarlingX
URL: unknown
BuildArch: noarch
Source: %name-%version.tar.gz
Summary: package memcached service files to system folder.
%description
package memcached service files to system folder.
%prep
%setup
%build
%install
%{__install} -d %{buildroot}%{_sysconfdir}/systemd/system
%{__install} -m 644 -p memcached.service %{buildroot}%{_sysconfdir}/systemd/system/memcached.service
%post
%files
%defattr(-,root,root,-)
%{_sysconfdir}/systemd/system/memcached.service