Drop %defattr()
This commit is contained in:
parent
3c3f4b6e16
commit
8121e67272
10
clamav.spec
10
clamav.spec
@ -735,7 +735,6 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS BUGS COPYING ChangeLog FAQ NEWS README UPGRADE
|
%doc AUTHORS BUGS COPYING ChangeLog FAQ NEWS README UPGRADE
|
||||||
%doc docs/*.pdf
|
%doc docs/*.pdf
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
@ -747,13 +746,11 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
|
|||||||
## -----------------------
|
## -----------------------
|
||||||
|
|
||||||
%files lib
|
%files lib
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_libdir/*.so.*
|
%_libdir/*.so.*
|
||||||
|
|
||||||
## -----------------------
|
## -----------------------
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_includedir/*
|
%_includedir/*
|
||||||
%_libdir/*.so
|
%_libdir/*.so
|
||||||
%pkgdatadir/template
|
%pkgdatadir/template
|
||||||
@ -785,7 +782,6 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
|
|||||||
## -----------------------
|
## -----------------------
|
||||||
|
|
||||||
%files update
|
%files update
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_bindir/freshclam
|
%_bindir/freshclam
|
||||||
%_mandir/*/freshclam*
|
%_mandir/*/freshclam*
|
||||||
%pkgdatadir/freshclam-sleep
|
%pkgdatadir/freshclam-sleep
|
||||||
@ -801,7 +797,6 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
|
|||||||
## -----------------------
|
## -----------------------
|
||||||
|
|
||||||
%files server
|
%files server
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc _doc_server/*
|
%doc _doc_server/*
|
||||||
%_mandir/man[58]/clamd*
|
%_mandir/man[58]/clamd*
|
||||||
%_sbindir/*
|
%_sbindir/*
|
||||||
@ -813,21 +808,18 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
|
|||||||
|
|
||||||
%if 0%{?with_sysv:1}
|
%if 0%{?with_sysv:1}
|
||||||
%files server-sysvinit
|
%files server-sysvinit
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_initrddir/clamd-wrapper
|
%_initrddir/clamd-wrapper
|
||||||
%pkgdatadir/clamd-wrapper
|
%pkgdatadir/clamd-wrapper
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_systemd:1}
|
%if 0%{?with_systemd:1}
|
||||||
%files server-systemd
|
%files server-systemd
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_unitdir/clamd@.service
|
%_unitdir/clamd@.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
## -----------------------
|
## -----------------------
|
||||||
|
|
||||||
%files scanner
|
%files scanner
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%config(noreplace) %_sysconfdir/clamd.d/scan.conf
|
%config(noreplace) %_sysconfdir/clamd.d/scan.conf
|
||||||
%ghost %scanstatedir/clamd.sock
|
%ghost %scanstatedir/clamd.sock
|
||||||
|
|
||||||
@ -846,13 +838,11 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
|
|||||||
|
|
||||||
%if 0%{?with_upstart:1}
|
%if 0%{?with_upstart:1}
|
||||||
%files scanner-upstart
|
%files scanner-upstart
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%config(noreplace) %_sysconfdir/init/clamd.scan*
|
%config(noreplace) %_sysconfdir/init/clamd.scan*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_systemd:1}
|
%if 0%{?with_systemd:1}
|
||||||
%files scanner-systemd
|
%files scanner-systemd
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_unitdir/clamd@scan.service
|
%_unitdir/clamd@scan.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user