config/puppet-modules-wrs/puppet-sysinv/centos/puppet-sysinv.spec
Erich Cordoba 24fd045f68 Stardandize makefiles for puppet-modules-wrs
The puppet-modules-wrs is formed by several subcomponents, in all
of them the same changes were applied:

  - Create a makefile with a install target.
  - Remove license file from build_srpm.data as is not needed.
  - Update target in specfile
  - Change autosetup to setup in specfile, this was bug in the spec
    files.

Change-Id: I960b092292222fdb58380422889022d68d748c37
Story: 2004043
Task: 27552
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2019-02-05 18:29:32 -06:00

35 lines
652 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
BuildArch: noarch
BuildRequires: python2-devel
%description
A puppet module for sysinv
%prep
%setup
#
# The src for this puppet module needs to be staged to puppet/modules
#
%install
make install \
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules/%{module_dir}
%files
%license LICENSE
%{_datadir}/puppet/modules/%{module_dir}