Remove manages when not needed instead of exluding them
This commit is contained in:
parent
a8b268e882
commit
39f81f495a
18
samba.spec
18
samba.spec
@ -1073,6 +1073,15 @@ for i in \
|
||||
done
|
||||
%endif
|
||||
|
||||
%if ! %{with_vfs_glusterfs}
|
||||
rm -f %{buildroot}%{_mandir}/man8/vfs_glusterfs.8*
|
||||
%endif
|
||||
|
||||
%if ! %{with_vfs_cephfs}
|
||||
rm -f %{buildroot}%{_mandir}/man8/vfs_ceph.8*
|
||||
rm -f %{buildroot}%{_mandir}/man8/vfs_ceph_snapshots.8*
|
||||
%endif
|
||||
|
||||
# This makes the right links, as rpmlint requires that
|
||||
# the ldconfig-created links be recorded in the RPM.
|
||||
/sbin/ldconfig -N -n %{buildroot}%{_libdir}
|
||||
@ -1383,15 +1392,6 @@ fi
|
||||
%{_mandir}/man8/vfs_worm.8*
|
||||
%{_mandir}/man8/vfs_xattr_tdb.8*
|
||||
|
||||
%if ! %{with_vfs_glusterfs}
|
||||
%exclude %{_mandir}/man8/vfs_glusterfs.8*
|
||||
%endif
|
||||
|
||||
%if ! %{with_vfs_cephfs}
|
||||
%exclude %{_mandir}/man8/vfs_ceph.8*
|
||||
%exclude %{_mandir}/man8/vfs_ceph_snapshots.8*
|
||||
%endif
|
||||
|
||||
%attr(775,root,printadmin) %dir /var/lib/samba/drivers
|
||||
|
||||
### CLIENT
|
||||
|
Loading…
Reference in New Issue
Block a user