config/puppet-modules-wrs/puppet-smapi/centos/puppet-smapi.spec
Erich Cordoba ea0b33e950 Standardize 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.

Testing:
  - Verification on correct install paths.
  - config_controller complete on simplex configuration.

Change-Id: I1512eb0c3034ffa2d57d098dab9800bdaba5b48d
Story: 2004043
Task: 27552
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2019-02-11 13:30:42 -06:00

34 lines
638 B
RPMSpec

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