LOG Fix provides exceptions generation, add rpmlintrc file

This commit is contained in:
Andrey Bondrov 2012-08-15 22:46:13 +11:00
parent 3b4987d814
commit 07af77108e
2 changed files with 6 additions and 3 deletions

2
sane.rpmlintrc Normal file
View file

@ -0,0 +1,2 @@
# Actually, versioned enough
addFilter("E: non-versioned-file-in-library-package")

View file

@ -8,7 +8,7 @@
# All sane backends have SONAME libsane.so.1. We do not want # All sane backends have SONAME libsane.so.1. We do not want
# sane-backends-iscan to provide libsane.so.1, so filter these out. # sane-backends-iscan to provide libsane.so.1, so filter these out.
%if %{_use_internal_dependency_generator} %if %{_use_internal_dependency_generator}
%define __noautoprovfiles %{_libdir}/%{name}/ %define __noautoprovfiles %{_libdir}/sane
%else %else
%define _exclude_files_from_autoprov %{_libdir}/%{name}/ %define _exclude_files_from_autoprov %{_libdir}/%{name}/
%endif %endif
@ -36,7 +36,7 @@
Name: sane Name: sane
Version: 1.0.22 Version: 1.0.22
Release: 5 Release: 6
Summary: SANE - local and remote scanner access Summary: SANE - local and remote scanner access
# 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
@ -56,6 +56,7 @@ Source12: http://www.geocities.com/trsh0101/SANE/primascan.c
# mkdir x; cd x; tar -xvzf ../iscan_2.21.0-6.tar.gz; rm -f */non-free/EAPL*.txt */non-free/lib*.so; tar -cvjf ../iscan_2.21.0-6-free.tar.bz2 *; cd ..; rm -rf x # mkdir x; cd x; tar -xvzf ../iscan_2.21.0-6.tar.gz; rm -f */non-free/EAPL*.txt */non-free/lib*.so; tar -cvjf ../iscan_2.21.0-6-free.tar.bz2 *; cd ..; rm -rf x
Source13: iscan_%{iscanversion}-4-free.tar.bz2 Source13: iscan_%{iscanversion}-4-free.tar.bz2
Source14: http://downloads.sourceforge.net/project/geniusvp2/sane-backend-geniusvp2/1.0.16.1/sane-backend-geniusvp2_1.0.16.1.tar.gz Source14: http://downloads.sourceforge.net/project/geniusvp2/sane-backend-geniusvp2/1.0.16.1/sane-backend-geniusvp2_1.0.16.1.tar.gz
Source15: sane.rpmlintrc
Patch1: sane-backends-1.0.18-plustek-s12.patch Patch1: sane-backends-1.0.18-plustek-s12.patch
Patch9: sane-sparc.patch Patch9: sane-sparc.patch
#Patch20: http://projects.troy.rollo.name/rt-scanners/hp3500.diff #Patch20: http://projects.troy.rollo.name/rt-scanners/hp3500.diff