stx-puppet/modules/puppet-dcdbsync/centos/puppet-dcdbsync.spec
Saul Wold 875acfe3fd Add Makefile to puppet-dcdbsync
This puppet module was missed when the other ones were updated to use
Makefile for the install target.  Add the Makefile and update the
centos specfile to use the install target.

Story: 2006613
Task: 36801
Task: 36802
Change-Id: If3e13cb235469354c1778d4d0e0bab94b0b0e670
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-09-25 13:12:28 -07:00

36 lines
679 B
RPMSpec

%global module_dir dcdbsync
Name: puppet-%{module_dir}
Version: 1.0.0
Release: %{tis_patch_ver}%{?_tis_dist}
Summary: Puppet dcdbsync module
License: Apache
Packager: Wind River <info@windriver.com>
URL: unknown
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
%description
A puppet module for dcorch dbsync service
%prep
%autosetup -c %{module_dir}
#
# The src for this puppet module needs to be staged to puppet/modules
#
%install
make install \
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
%files
%license LICENSE
%{_datadir}/puppet/modules/%{module_dir}