diff --git a/bacula.spec b/bacula.spec index 976b4b2..a49dfd1 100644 --- a/bacula.spec +++ b/bacula.spec @@ -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