Try to fix file listed twice RPM error

This commit is contained in:
Andrey Bondrov 2012-08-16 01:02:34 +11:00
parent c114b54e95
commit 05417edb14

View file

@ -542,23 +542,22 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_mandir}/man5/*
%{_mandir}/man7/*
%dir %{_sysconfdir}/sane.d
%dir %{_sysconfdir}/sane.d/dll.d
#config(noreplace) %{_sysconfdir}/sane.d/*[^saned]
%config(noreplace) %{_sysconfdir}/sane.d/*
%{_sysconfdir}/udev/rules.d/*-libsane.rules
%attr(1777,root,root) %dir /var/lib/lock/sane
%if %epkowa_support
# iscan files
%exclude %_sysconfdir/sane.d/epkowa.conf
%exclude %_mandir/man5/sane-epkowa.5*
%exclude %{_sysconfdir}/sane.d/epkowa.conf
%exclude %{_mandir}/man5/sane-epkowa.5*
%endif
%if %epkowa_support
#-f iscan.lang
%files backends-iscan
%_libdir/sane/libsane-epkowa.*
%_sysconfdir/sane.d/epkowa.conf
%_mandir/man5/sane-epkowa.5*
%{_libdir}/sane/libsane-epkowa.*
%{_sysconfdir}/sane.d/epkowa.conf
%{_mandir}/man5/sane-epkowa.5*
%dir %{_datadir}/iscan
%{_datadir}/iscan/*
%endif