Hello community,

here is the log from the commit of package xapian-bindings for openSUSE:Factory 
checked in at 2015-04-03 14:34:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xapian-bindings (Old)
 and      /work/SRC/openSUSE:Factory/.xapian-bindings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xapian-bindings"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xapian-bindings/xapian-bindings.changes  
2015-03-12 16:39:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xapian-bindings.new/xapian-bindings.changes     
2015-04-03 14:34:49.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Apr  2 10:41:05 UTC 2015 - [email protected]
+
+- make building of csharp bindings optional for architectures
+  that do not provide mono
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xapian-bindings.spec ++++++
--- /var/tmp/diff_new_pack.ahXozw/_old  2015-04-03 14:34:49.000000000 +0200
+++ /var/tmp/diff_new_pack.ahXozw/_new  2015-04-03 14:34:49.000000000 +0200
@@ -17,6 +17,7 @@
 
 
 %define php_extension_dir %(php-config --extension-dir)
+%bcond_with mono
 
 Name:           xapian-bindings
 Version:        1.2.20
@@ -32,7 +33,9 @@
 BuildRequires:  java-devel
 BuildRequires:  libuuid-devel
 BuildRequires:  libxapian-devel = %{version}
+%if %{with mono}
 BuildRequires:  mono-devel
+%endif
 BuildRequires:  php5-devel
 BuildRequires:  pkg-config
 BuildRequires:  python-devel
@@ -91,6 +94,7 @@
 indexing and search facilities to applications. This package provides the
 files needed for developing TCL scripts which use Xapian.
 
+%if %{with mono}
 %package -n xapian-csharp
 Summary:        Files needed for developing C# applications which use Xapian
 Group:          Development/Languages/Mono
@@ -101,7 +105,7 @@
 offers a highly adaptable toolkit that allows developers to easily add advanced
 indexing and search facilities to applications. This package provides the
 files needed for developing C# applications which use Xapian.
-
+%endif
 
 %prep
 %setup -q
@@ -113,7 +117,11 @@
     --with-php    \
     --with-ruby   \
     --with-tcl    \
+%if %{without mono}
+    --without-csharp \
+%else
     --with-csharp \
+%endif
     --docdir=%{_docdir}/%{name}
 make %{?_smp_mflags}
 
@@ -156,6 +164,7 @@
 %doc %{_defaultdocdir}/%{name}/tcl8/
 %{_libdir}/tcl/xapian%{version}/
 
+%if %{with mono}
 %files -n xapian-csharp
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog HACKING NEWS README TODO
@@ -166,5 +175,6 @@
 %{_libdir}/mono/XapianSharp/
 %dir %{_libdir}/mono/gac/
 %{_libdir}/mono/gac/XapianSharp/
+%endif
 
 %changelog




Reply via email to