config/puppet-modules-wrs/puppet-sysinv/centos/puppet-sysinv.spec
Bart Wensley d2c2746004 Revert "Stardandize makefiles for puppet-modules-wrs"
This reverts commit 24fd045f68.

This commit is causing an installation failure. It appears
that it has changed the location of some puppet manifests.

Change-Id: Ic9e2a7638f9b87199417016c4d50d84c6534aa88
2019-02-07 13:14:41 +00:00

36 lines
784 B
RPMSpec

%global module_dir sysinv
Name: puppet-%{module_dir}
Version: 1.0.0
Release: %{tis_patch_ver}%{?_tis_dist}
Summary: Puppet sysinv module
License: Apache
Packager: Wind River <info@windriver.com>
URL: unknown
Source0: %{name}-%{version}.tar.gz
Source1: LICENSE
BuildArch: noarch
BuildRequires: python2-devel
%description
A puppet module for sysinv
%prep
%autosetup -c %{module_dir}
#
# 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
%files
%license %{name}-%{version}/LICENSE
%{_datadir}/puppet/modules/%{module_dir}