[libyui-bindings] - fix build without Mono

Dan Horák sharkcz at fedoraproject.org
Thu Jan 22 07:45:08 UTC 2015


commit 1dcbb847fd366c911b8c1e6b807d2931a6a7735d
Author: Dan Horák <dan at danny.cz>
Date:   Thu Jan 22 08:45:33 2015 +0100

    - fix build without Mono

 libyui-bindings.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/libyui-bindings.spec b/libyui-bindings.spec
index 55cf93c..fe0bfe6 100644
--- a/libyui-bindings.spec
+++ b/libyui-bindings.spec
@@ -20,7 +20,7 @@
 
 Name:		%{libname}-bindings
 Version:	1.1.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Language bindings for %{libname}
 
 License:	LGPLv2 or LGPLv3
@@ -193,6 +193,7 @@ popd
 %endif #0%{?with_py3}
 
 
+%if 0%{?with_mono}
 %files -n mono-%{libsuffix}
 %doc %dir %{?_pkgdocdir}
 %doc %{?_pkgdocdir}/ChangeLog
@@ -201,6 +202,7 @@ popd
 %doc %{?_pkgdocdir}/README
 %{_libdir}/%{libsuffix}/%{libsuffix}.dll
 %{_libdir}/%{libsuffix}/%{libsuffix}.so
+%endif
 
 %files -n perl-%{libsuffix}
 %doc %dir %{?_pkgdocdir}
@@ -240,6 +242,9 @@ popd
 
 
 %changelog
+* Thu Jan 22 2015 Dan Horák <dan[at]danny.cz> - 1.1.0-2
+- fix build without Mono
+
 * Tue Jan 20 2015 Björn Esser <bjoern.esser at gmail.com> - 1.1.0-1
 - new upstream release
 - rebuilt for libyui-3.1.5


More information about the scm-commits mailing list