From 05417edb14892f2d9cafd4e695ed703f9ba43b20 Mon Sep 17 00:00:00 2001 From: Andrey Bondrov Date: Thu, 16 Aug 2012 01:02:34 +1100 Subject: [PATCH] Try to fix file listed twice RPM error --- sane.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sane.spec b/sane.spec index 3a3582b..848c826 100644 --- a/sane.spec +++ b/sane.spec @@ -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