integ/config/puppet-modules/puppet-nslcd/centos/puppet-nslcd.spec
Long Li 4fb9dc8306 CentOS8: Puppet-nslcd should use python3
change Buildrequires about python-devel to python3-devel
explicitly to fix RPM build

Story: 2006729
Task: 37903

Change-Id: Ia416a46dde9423cde8b26bcf8ac34049ed891216
Signed-off-by: Long Li <lilong-neu@neusoft.com>
2019-12-30 10:54:08 +08:00

32 lines
784 B
RPMSpec

%global git_sha b8c19b1ada89865f2e50758e054583798ad8011a
%global module_dir nslcd
Name: puppet-nslcd
Version: 0.0.1
Release: 0%{?_tis_dist}.%{tis_patch_ver}
Summary: Puppet nslcd module
License: Apache
URL: https://github.com/jlyheden/puppet-nslcd
Source0: %{name}-%{git_sha}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
%description
A Puppet module for nslcd - local LDAP name service daemon
%prep
%autosetup -c %{module_dir}
%install
install -d -m 0755 %{buildroot}/%{_datadir}/puppet/modules/%{module_dir}
cp -R packstack/puppet/modules/%{module_dir} %{buildroot}/%{_datadir}/puppet/modules
%files
#%license packstack/puppet/modules/%{module_dir}/LICENSE
%{_datadir}/puppet/modules/%{module_dir}