35f721cd5e
The last merge was not fully tested when it got merged, this cleans up some issues with the openSUSE specfiles. Change-Id: I9a56890877b2e0bfcc759c4acef5a985977b1995 Signed-off-by: Saul Wold <sgw@linux.intel.com>
39 lines
781 B
RPMSpec
39 lines
781 B
RPMSpec
%global module_dir dcmanager
|
|
|
|
Name: puppet-%{module_dir}
|
|
Version: 1.0.0
|
|
Release: stx
|
|
Summary: Puppet %{module_dir} module
|
|
License: Apache-2.0
|
|
Group: Development/Tools/Other
|
|
URL: https://opendev.org/starlingx/config
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
%description
|
|
A puppet module for %{module_dir}
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version}/src
|
|
|
|
%build
|
|
|
|
#
|
|
# The src for this puppet module needs to be staged to puppet/modules
|
|
#
|
|
%install
|
|
make install \
|
|
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%license LICENSE
|
|
%dir %{_datadir}/puppet
|
|
%dir %{_datadir}/puppet/modules
|
|
%{_datadir}/puppet/modules/%{module_dir}
|
|
|
|
%changelog
|