Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
fix: add missing dir to rpm package
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Nov 2, 2017
1 parent 8123262 commit 51d4ba3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packaging/bareos-vmware.spec
Expand Up @@ -68,8 +68,6 @@ is currently supported to the origin VM.
#PreReq:
#Provides:

%define plugin_dir %{_libdir}/bareos/plugins

# Note: __requires_exclude only works for dists with rpm version >= 4.9
# SLES12 has suse_version 1315, SLES11 has 1110
%if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700 || 0%{?fedora_version} >= 16 || 0%{?suse_version} >= 1110
Expand Down Expand Up @@ -109,8 +107,8 @@ make

%files -n bareos-vmware-plugin
%defattr(-,root,root)
#%%{_libdir}/bareos/
%{plugin_dir}/
%dir %{_libdir}/bareos/
%{_libdir}/bareos/plugins/
%{_sbindir}/vmware_cbt_tool.py
%doc AUTHORS LICENSE README.md

Expand Down

0 comments on commit 51d4ba3

Please sign in to comment.