Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Depends-On: I6ab6cbdaeee5a4dcf05eec14268ec85baed61e14 Change-Id: I5b2094d601559df6e31c1c00869b7612d353d9d4 Partial-Bug: #1782251
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|