Headers must be under src or programs complain
This commit is contained in:
parent
3b6cb34f9a
commit
9fd3871dd1
@ -457,10 +457,9 @@ chmod 644 %{buildroot}%{_libexecdir}/bacula/btraceback.*
|
||||
|
||||
# Install headers
|
||||
%{__mkdir_p} %{buildroot}%{_includedir}/bacula
|
||||
%{__install} -m 644 src/*.h %{buildroot}%{_includedir}/bacula
|
||||
for dir in cats console dird filed findlib lib plugins/sd plugins/fd stored; do
|
||||
for dir in src src/cats src/console src/dird src/filed src/findlib src/lib src/plugins/sd src/plugins/fd src/stored; do
|
||||
%{__mkdir_p} %{buildroot}%{_includedir}/bacula/$dir
|
||||
%{__install} -m 644 src/$dir/*.h %{buildroot}%{_includedir}/bacula/$dir
|
||||
%{__install} -m 644 $dir/*.h %{buildroot}%{_includedir}/bacula/$dir
|
||||
done
|
||||
|
||||
|
||||
@ -826,7 +825,6 @@ fi
|
||||
%{_libdir}/libbacfind.la
|
||||
%{_libdir}/libbacpy.la
|
||||
|
||||
|
||||
%files -n nagios-plugins-bacula
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/nagios/plugins/check_bacula
|
||||
|
Loading…
Reference in New Issue
Block a user