Skip to content

Commit

Permalink
Fix specfiles for new bindir.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Jun 23, 2014
1 parent 47a476d commit 73661df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
17 changes: 10 additions & 7 deletions platforms/packaging/bareos-RHEL_4.spec
Expand Up @@ -10,7 +10,7 @@
# * single-dir-install is not supported
# * Single packages for:
# * console package
# * dir package ( bsmtp )
# * dir package
# * sd package ( bls + btape + bcopy + bextract )
# * fd package ( )
# * tray monitor
Expand Down Expand Up @@ -656,8 +656,9 @@ echo "This is a meta package to install a full bareos system" > %{buildroot}%{_d
%defattr(-, root, root)
%attr(0640, root, %{daemon_group}) %config(noreplace) %{_sysconfdir}/bareos/bconsole.conf
%{script_dir}/bconsole
%{_bindir}/bconsole
%{_sbindir}/bconsole
%{_mandir}/man8/bconsole.8.gz
%{_mandir}/man1/bconsole.1.gz

%if !0%{?client_only}

Expand All @@ -682,7 +683,7 @@ echo "This is a meta package to install a full bareos system" > %{buildroot}%{_d
%{script_dir}/make_catalog_backup
%{script_dir}/make_catalog_backup.pl
%{_sbindir}/bareos-dir
%{_sbindir}/bsmtp
%{_bindir}/bsmtp
%dir %{_docdir}/%{name}
%{_mandir}/man1/bsmtp.1.gz
%{_mandir}/man8/bareos-dir.8.gz
Expand Down Expand Up @@ -843,25 +844,27 @@ echo "This is a meta package to install a full bareos system" > %{buildroot}%{_d
%files tools
# tools without link to db libs (bwild, bregex)
%defattr(-, root, root)
%{_bindir}/bregex
%{_bindir}/bwild
%{_sbindir}/bcopy
%{_sbindir}/bextract
%{_sbindir}/bls
%{_sbindir}/bregex
%{_sbindir}/bwild
%{_sbindir}/bpluginfo
%{_mandir}/man1/bwild.1.gz
%{_mandir}/man1/bregex.1.gz
%{_mandir}/man8/bcopy.8.gz
%{_mandir}/man8/bextract.8.gz
%{_mandir}/man8/bls.8.gz
%{_mandir}/man8/bwild.8.gz
%{_mandir}/man8/bregex.8.gz
%{_mandir}/man8/bpluginfo.8.gz

%if 0%{?build_qt_monitor}
%files traymonitor
%defattr(-,root, root)
%attr(-, root, %{daemon_group}) %config(noreplace) %{_sysconfdir}/bareos/tray-monitor.conf
%config %{_sysconfdir}/xdg/autostart/bareos-tray-monitor.desktop
%{_sbindir}/bareos-tray-monitor
%{_bindir}/bareos-tray-monitor
%{_mandir}/man1/bareos-tray-monitor.1.gz
/usr/share/applications/bareos-tray-monitor.desktop
/usr/share/pixmaps/bareos-tray-monitor.xpm
Expand All @@ -870,7 +873,7 @@ echo "This is a meta package to install a full bareos system" > %{buildroot}%{_d
%if 0%{?build_bat}
%files bat
%defattr(-, root, root)
%attr(-, root, %{daemon_group}) %{_sbindir}/bat
%attr(-, root, %{daemon_group}) %{_bindir}/bat
%attr(640, root, %{daemon_group}) %config(noreplace) %{_sysconfdir}/bareos/bat.conf
%{_prefix}/share/pixmaps/bat.png
%{_prefix}/share/pixmaps/bat.svg
Expand Down
1 change: 0 additions & 1 deletion platforms/packaging/bareos.spec
Expand Up @@ -762,7 +762,6 @@ echo "This is a meta package to install a full bareos system" > %{buildroot}%{_d
%endif
%dir %{plugin_dir}
%{_bindir}/bsmtp
%{_sbindir}/bsmtp
%{_sbindir}/btraceback
%{_mandir}/man1/bsmtp.1.gz
%{_mandir}/man8/btraceback.8.gz
Expand Down

0 comments on commit 73661df

Please sign in to comment.