Skip to content

Commit

Permalink
Added contrail-tripleo-puppet spec
Browse files Browse the repository at this point in the history
Depends-On: I6ab6cbdaeee5a4dcf05eec14268ec85baed61e14
Change-Id: I5b2094d601559df6e31c1c00869b7612d353d9d4
Partial-Bug: #1782251
  • Loading branch information
alexey-mr committed Jul 25, 2018
1 parent 648f8a4 commit 4347b2f
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions rpm/contrail-tripleo-puppet/contrail-tripleo-puppet.spec
@@ -0,0 +1,38 @@
%if 0%{?_buildTag:1}
%define _relstr %{_buildTag}
%else
%define _relstr %(date -u +%y%m%d%H%M)
%endif
%if 0%{?_srcVer:1}
%define _verstr %{_srcVer}
%else
%define _verstr 1
%endif

%define _installdir /usr/share/contrail-tripleo-puppet/

Name: contrail-tripleo-puppet
Version: %{_verstr}
Release: %{_relstr}%{?dist}
Summary: contrail tripleo puppet modules for tripleo composable roles deployment%{?_gitVer}
Group: Applications/System
License: Commercial
URL: http://www.juniper.net
Vendor: Juniper Networks Inc

BuildArch: noarch

%description
Contrail tripleo puppet modules for tripleo composable roles deployment

%install
rm -rf %{buildroot}%{_installdir}
install -d -m 0755 %{buildroot}%{_installdir}
cp -rp %{_sbtop}openstack/contrail-tripleo-puppet/* %{buildroot}%{_installdir}

%files
%defattr(-, root, root)
%{_installdir}*

%changelog

0 comments on commit 4347b2f

Please sign in to comment.