forked from pool/libvma
Packaging fixes
* Fix vma_extra.h install dir * Fix vma.service file rights * Mark 30-libvma-limits.conf as config OBS-URL: https://build.opensuse.org/package/show/science:HPC/libvma?expand=0&rev=3
This commit is contained in:
parent
59d44ed611
commit
c2d51cd159
@ -83,11 +83,11 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
rm -f %{buildroot}/etc/init.d/vma
|
rm -f %{buildroot}/etc/init.d/vma
|
||||||
|
|
||||||
install -D -m 755 tests/vma_perf_envelope/vma_perf_envelope.sh %{buildroot}/%{_datadir}/%{name}/vma_perf_envelope.sh
|
install -D -m 755 tests/vma_perf_envelope/vma_perf_envelope.sh %{buildroot}/%{_datadir}/%{name}/vma_perf_envelope.sh
|
||||||
install -m 644 src/vma/vma_extra.h %{buildroot}/%{_includedir}/vma_extra.h
|
install -m 644 src/vma/vma_extra.h %{buildroot}/%{_includedir}/mellanox/vma_extra.h
|
||||||
install -m 644 src/vma/util/libvma.conf %{buildroot}/%{_sysconfdir}/
|
install -m 644 src/vma/util/libvma.conf %{buildroot}/%{_sysconfdir}/
|
||||||
install -s -m 755 src/stats/vma_stats %{buildroot}/%{_bindir}/vma_stats
|
install -s -m 755 src/stats/vma_stats %{buildroot}/%{_bindir}/vma_stats
|
||||||
install -s -m 755 tools/daemon/vmad %{buildroot}/%{_sbindir}/vmad
|
install -s -m 755 tools/daemon/vmad %{buildroot}/%{_sbindir}/vmad
|
||||||
install -D -m 755 %{S:1} %{buildroot}%{_unitdir}/vma.service
|
install -D -m 644 %{S:1} %{buildroot}%{_unitdir}/vma.service
|
||||||
|
|
||||||
for service in vma; do ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc${service}; done
|
for service in vma; do ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc${service}; done
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ for service in vma; do ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc${se
|
|||||||
%{_docdir}/%{name}-%{version}/journal.txt
|
%{_docdir}/%{name}-%{version}/journal.txt
|
||||||
%{_docdir}/%{name}-%{version}/VMA_VERSION
|
%{_docdir}/%{name}-%{version}/VMA_VERSION
|
||||||
%config(noreplace) %{_sysconfdir}/libvma.conf
|
%config(noreplace) %{_sysconfdir}/libvma.conf
|
||||||
%{_sysconfdir}/security/limits.d/30-libvma-limits.conf
|
%config %{_sysconfdir}/security/limits.d/30-libvma-limits.conf
|
||||||
%{_sbindir}/vmad
|
%{_sbindir}/vmad
|
||||||
%{_sbindir}/rcvma
|
%{_sbindir}/rcvma
|
||||||
%{_unitdir}/vma.service
|
%{_unitdir}/vma.service
|
||||||
@ -127,7 +127,7 @@ for service in vma; do ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc${se
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/
|
%{_includedir}/mellanox
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user