Merge "Add Makefile to puppet-dcdbsync"
This commit is contained in:
commit
ecdc0fd5d9
@ -1,3 +1,2 @@
|
||||
SRC_DIR="src"
|
||||
COPY_LIST="$SRC_DIR/LICENSE"
|
||||
TIS_PATCH_VER=1
|
||||
|
@ -10,7 +10,6 @@ Packager: Wind River <info@windriver.com>
|
||||
URL: unknown
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: LICENSE
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@ -26,10 +25,11 @@ A puppet module for dcorch dbsync service
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/puppet/modules/%{module_dir}
|
||||
cp -R %{name}-%{version}/%{module_dir} %{buildroot}%{_datadir}/puppet/modules
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
|
||||
%files
|
||||
%license %{name}-%{version}/LICENSE
|
||||
%license LICENSE
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
|
11
modules/puppet-dcdbsync/src/Makefile
Normal file
11
modules/puppet-dcdbsync/src/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# Copyright (C) 2019 Intel Corporation
|
||||
#
|
||||
|
||||
MODULEDIR ?= /usr/share/puppet/modules
|
||||
|
||||
install:
|
||||
install -d -m 0755 $(MODULEDIR)/dcdbsync
|
||||
cp -R dcdbsync/ $(MODULEDIR)/
|
Loading…
x
Reference in New Issue
Block a user