integ/config/puppet-modules/puppet-ldap/centos/puppet-ldap.spec
Dongqi Chen 67db9602a9 CentOS8: Puppet-ldap should use python3
Change python2 to python3

Story: 2006729
Task: 37897

Change-Id: Ief6b031534f481df91908bc17e8971954e6d23a5
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
2019-12-30 10:52:43 +08:00

31 lines
734 B
RPMSpec

%global git_sha 480f13af6d17d1d3fcf0dc7b4bd04b49fa4099e1
%global module_dir ldap
Name: puppet-ldap
Version: 0.2.4
Release: 0%{?_tis_dist}.%{tis_patch_ver}
Summary: Puppet LDAP module
License: GPLv2
URL: https://github.com/torian/puppet-ldap
Source0: %{name}-%{git_sha}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
%description
A Puppet module to manage client and server configuration for OpenLdap
%prep
%setup -n puppet-ldap-master
%install
install -d -m 0755 %{buildroot}/%{_datadir}/puppet/modules/%{module_dir}
cp -R ../puppet-ldap-master/* %{buildroot}/%{_datadir}/puppet/modules/%{module_dir}/.
%files
%{_datadir}/puppet/modules/%{module_dir}