[sane-backends] filter out backend driver provides/requires

Nils Philippsen nphilipp at fedoraproject.org
Fri Feb 1 15:59:53 UTC 2013


commit c2778a652d5974abeb669075fdae55aabfcd9e8c
Author: Nils Philippsen <nils at redhat.com>
Date:   Thu Jan 17 13:17:05 2013 +0100

    filter out backend driver provides/requires

 sane-backends.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/sane-backends.spec b/sane-backends.spec
index 3c1c086..a32c877 100644
--- a/sane-backends.spec
+++ b/sane-backends.spec
@@ -15,6 +15,9 @@
 %global udevrulesdir /lib/udev/rules.d
 %endif
 
+%define __provides_exclude_from ^%{_libdir}/sane/.*\.so.*$
+%define __requires_exclude ^libsane-.*\.so\.[0-9]*(\(\).*)?+$
+
 Summary: Scanner access software
 Name: sane-backends
 Version: 1.0.23
@@ -210,6 +213,9 @@ install -m 0644 tools/sane-backends.pc %{buildroot}%{_libdir}/pkgconfig/
 %{_libdir}/sane/*gphoto2.so.*
 
 %changelog
+* Fri Feb 01 2013 Nils Philippsen <nils at redhat.com>
+- filter out backend driver provides/requires
+
 * Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 1.0.23-6
 - rebuild due to "jpeg8-ABI" feature drop
 


More information about the scm-commits mailing list