mirror of
https://abf.rosa.ru/djam/sane.git
synced 2025-02-23 17:23:00 +00:00
fix epkowa support
This commit is contained in:
parent
c6c009d740
commit
54de679b98
1 changed files with 3 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
Summary: SANE - local and remote scanner access
|
Summary: SANE - local and remote scanner access
|
||||||
Name: sane
|
Name: sane
|
||||||
Version: 1.0.25
|
Version: 1.0.25
|
||||||
Release: 1
|
Release: 2
|
||||||
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
||||||
# Tools are GPLv2+, docs are public domain
|
# Tools are GPLv2+, docs are public domain
|
||||||
License: GPLv2+ and GPLv2+ with exceptions and Public Domain
|
License: GPLv2+ and GPLv2+ with exceptions and Public Domain
|
||||||
|
@ -370,7 +370,9 @@ perl -p -i -e 's/^(\s*geniusvp2)/\#$1/g' %{buildroot}%{_sysconfdir}/sane.d/dll.c
|
||||||
# Comment out entry for the "epson" backend in /etc/sane.d/dll.conf as
|
# Comment out entry for the "epson" backend in /etc/sane.d/dll.conf as
|
||||||
# we have also Epson's "epkowa" backend which supports the same
|
# we have also Epson's "epkowa" backend which supports the same
|
||||||
# scanners
|
# scanners
|
||||||
|
%if %{with epkowa}
|
||||||
perl -p -i -e 's/^(\s*epson)/\#$1/g' %{buildroot}%{_sysconfdir}/sane.d/dll.conf
|
perl -p -i -e 's/^(\s*epson)/\#$1/g' %{buildroot}%{_sysconfdir}/sane.d/dll.conf
|
||||||
|
%endif
|
||||||
|
|
||||||
# Remove "hpoj" line from /etc/sane.d/dll.con
|
# Remove "hpoj" line from /etc/sane.d/dll.con
|
||||||
perl -p -i -e 's/HP\s+OfficeJet/HPLIP/g' %{buildroot}%{_sysconfdir}/sane.d/dll.conf
|
perl -p -i -e 's/HP\s+OfficeJet/HPLIP/g' %{buildroot}%{_sysconfdir}/sane.d/dll.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue