[gnutls] make guile bindings optional

Tomáš Mráz tmraz at fedoraproject.org
Tue Feb 5 14:35:31 UTC 2013


commit cb85f601fbf3e255330b556b1d2e56af3d192d80
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Tue Feb 5 15:35:27 2013 +0100

    make guile bindings optional
    
    - breaks i686 build and there is
      no dependent package

 gnutls.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnutls.spec b/gnutls.spec
index 5693c6e..523f83e 100644
--- a/gnutls.spec
+++ b/gnutls.spec
@@ -171,9 +171,11 @@ if [ $1 = 0 -a -f %{_infodir}/gnutls.info.gz ]; then
    /sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir || :
 fi
 
+%if %{with guile}
 %post guile -p /sbin/ldconfig
 
 %postun guile -p /sbin/ldconfig
+%endif
 
 %files -f libgnutls.lang
 %defattr(-,root,root,-)


More information about the scm-commits mailing list