
Story: 2005265 Task: 30097 Change-Id: I986638cdfa940e12ade98d5031a38f19c268dedb Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
41 lines
924 B
RPMSpec
41 lines
924 B
RPMSpec
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Copyright (C) 2019 Intel Corporation
|
|
#
|
|
Summary: openstack-panko-config
|
|
Name: openstack-panko-config
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
License: Apache-2.0
|
|
Group: openstack
|
|
Packager: StarlingX
|
|
URL: unknown
|
|
BuildArch: noarch
|
|
Source: %name-%version.tar.gz
|
|
|
|
Requires: openstack-panko-common
|
|
Requires: openstack-panko-api
|
|
|
|
Summary: package StarlingX configuration files of openstack-panko to system folder.
|
|
|
|
%description
|
|
package StarlingX configuration files of openstack-panko to system folder.
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
|
|
%install
|
|
%{__install} -d %{buildroot}%{_bindir}
|
|
%{__install} -m 0755 panko-expirer-active %{buildroot}%{_bindir}/panko-expirer-active
|
|
|
|
%post
|
|
if test -s %{_sysconfdir}/logrotate.d/openstack-panko ; then
|
|
echo '#See /etc/logrotate.d/syslog for panko rules' > %{_sysconfdir}/logrotate.d/openstack-panko
|
|
fi
|
|
|
|
%files
|
|
%{_bindir}/panko-expirer-active
|