[yap] Clean exported Requires

Petr Pisar ppisar at fedoraproject.org
Tue Jan 4 10:46:36 UTC 2011


commit 71deafb34cfe563c2e580e3d51aa3e25833fcac2
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Dec 23 10:45:53 2010 +0100

    Clean exported Requires
    
    libplstream.so is private library needed by other private libraries. Do not
    export it.

 yap.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/yap.spec b/yap.spec
index aa0c2b8..0aecbfc 100644
--- a/yap.spec
+++ b/yap.spec
@@ -29,8 +29,9 @@ BuildRequires:  zlib-devel
 Requires(post):   /sbin/install-info, /sbin/ldconfig
 Requires(postun): /sbin/install-info, /sbin/ldconfig
 
-# Do not provide private libraries
+# Do not export provides and requires on private libraries
 %filter_provides_in /usr/lib64/Yap/
+%filter_from_requires /^libplstream.so(/d
 %filter_setup
 
 %description
@@ -200,7 +201,7 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
-* Wed Dec 22 2010 Petr Pisar <ppisar at redhat.com> - 6.2.0-1
+* Thu Dec 23 2010 Petr Pisar <ppisar at redhat.com> - 6.2.0-1
 - Reorder metadata in spec file
 - 6.2.0 bump
 - Remove uneeded Yap-creat.patch
@@ -216,6 +217,7 @@ rm -rf $RPM_BUILD_ROOT
 - Fix BuildRequires
 - Package clpbn examples
 - Fix Source URL
+- Clean exported Requires
 
 * Wed Dec 08 2010 Petr Pisar <ppisar at redhat.com> - 5.1.3-3
 - Hack SWI-compatible libraries build system to be compilable (bug #660965)


More information about the scm-commits mailing list