Dongqi Chen 86d780a700 CentOS 8: Puppet-filemapper should use python3
Change python2 to python3

Story: 2006729
Task: 37888

Change-Id: I6bb9698ee33b503fddb6fd9410f5cb0dc87195fd
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
2019-12-30 11:44:30 +08:00

32 lines
794 B
RPMSpec

%global git_sha 9b53310278e76827bbe12a36cc6470d77071abb2
%global module_dir filemapper
Name: puppet-filemapper
Version: 1.1.3
Release: 0%{?_tis_dist}.%{tis_patch_ver}
Summary: Puppet FileMapper module
License: Apache
URL: https://github.com/voxpupuli/puppet-filemapper
Source0: %{name}-%{git_sha}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
%description
Puppet module to map files to resources and back
%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}