openSUSE specfiles fix-up
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>
This commit is contained in:
parent
8c92b3ca66
commit
35f721cd5e
@ -1,33 +1,38 @@
|
||||
%global module_dir dcdbsync/
|
||||
%global module_dir dcdbsync
|
||||
|
||||
Name: puppet-dcdbsync
|
||||
Version: 1.0
|
||||
Release: 1
|
||||
License: Apache-2.0
|
||||
Summary: Puppet dcdbsync module
|
||||
Url: https://opendev.org/starlingx/config
|
||||
Group: Development/Tools/Other
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
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
|
||||
|
||||
BuildRequires: python2-devel
|
||||
|
||||
%description
|
||||
A puppet module for dcorch dbsync service
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
%autosetup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
#
|
||||
# The src for this puppet module needs to be staged to puppet/modules
|
||||
#
|
||||
%install
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/puppet/modules/%{module_dir}
|
||||
cp -R %{module_dir} %{buildroot}%{_datadir}/puppet/modules
|
||||
ls
|
||||
make install \
|
||||
MODULEDIR=%{buildroot}%{_datadir}/puppet/modules
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/puppet/
|
||||
%{_datadir}/puppet/modules/
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
||||
%changelog
|
||||
|
@ -17,7 +17,7 @@ BuildRequires: python2-devel
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
%autosetup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
@ -30,7 +30,7 @@ make install \
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
@ -17,7 +17,7 @@ BuildRequires: python2-devel
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
%autosetup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
|
@ -17,7 +17,7 @@ BuildRequires: python2-devel
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
%autosetup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
@ -30,7 +30,7 @@ make install \
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
@ -17,7 +17,7 @@ BuildRequires: python2-devel
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
%autosetup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
@ -30,7 +30,7 @@ make install \
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
@ -17,7 +17,7 @@ BuildRequires: python2-devel
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
%autosetup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
@ -30,7 +30,7 @@ make install \
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
@ -17,7 +17,7 @@ BuildRequires: python2-devel
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
%autosetup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
@ -30,7 +30,7 @@ make install \
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
@ -17,7 +17,7 @@ BuildRequires: python2-devel
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
%autosetup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
@ -30,7 +30,7 @@ make install \
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
@ -17,7 +17,7 @@ BuildRequires: python2-devel
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
%autosetup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
@ -30,7 +30,7 @@ make install \
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
@ -17,7 +17,7 @@ BuildRequires: python2-devel
|
||||
A puppet module for %{module_dir}
|
||||
|
||||
%prep
|
||||
%autosetup -q -n %{name}-%{version}/src
|
||||
%autosetup -n %{name}-%{version}/src
|
||||
|
||||
%build
|
||||
|
||||
@ -30,7 +30,7 @@ make install \
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license src/LICENSE
|
||||
%license LICENSE
|
||||
%dir %{_datadir}/puppet
|
||||
%dir %{_datadir}/puppet/modules
|
||||
%{_datadir}/puppet/modules/%{module_dir}
|
||||
|
Loading…
x
Reference in New Issue
Block a user