[ice/f16] fix build without Mono

Dan Horák sharkcz at fedoraproject.org
Mon Oct 31 13:08:24 UTC 2011


commit 29e167751a0f01be1492b7989e050eb1ae459224
Author: Dan Horák <dan at danny.cz>
Date:   Tue Sep 27 16:53:10 2011 +0200

    fix build without Mono
    
    don't move files only installed when built with Mono support

 ice.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/ice.spec b/ice.spec
index 53d402f..9002e98 100644
--- a/ice.spec
+++ b/ice.spec
@@ -293,9 +293,11 @@ mv $RPM_BUILD_ROOT/include/* ${RPM_BUILD_ROOT}%{_includedir}
 mkdir -p $RPM_BUILD_ROOT%{_libdir}
 # There are a couple of files that end up installed in /lib, not %%{_libdir},
 # so we try this move too.
+%if 0%{?with_mono}
 mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
 install -p -m0644 -t $RPM_BUILD_ROOT%{_libdir}/pkgconfig \
          $RPM_BUILD_ROOT/lib/pkgconfig/*.pc
+%endif
 install -p -m0755 -t $RPM_BUILD_ROOT%{_libdir}/ \
          $RPM_BUILD_ROOT/%{_lib}/*.so* 
 # Move the ImportKey.class file


More information about the scm-commits mailing list