[portmidi] Fix FTBFS due to changes in cmake. RHBZ #715668

Orcan Ogetbil oget at fedoraproject.org
Fri Jun 24 02:33:15 UTC 2011


commit 60b33ea9a8070a0e074ddc904312be05cea9f494
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Thu Jun 23 22:33:04 2011 -0400

    Fix FTBFS due to changes in cmake. RHBZ #715668

 portmidi.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/portmidi.spec b/portmidi.spec
index 9479deb..668c368 100644
--- a/portmidi.spec
+++ b/portmidi.spec
@@ -3,7 +3,7 @@
 Summary:        Real-time Midi I/O Library
 Name:           portmidi
 Version:        217
-Release:        3%{?dist}
+Release:        4%{?dist}
 License:        MIT
 Group:          System Environment/Libraries
 URL:            http://portmedia.sourceforge.net/
@@ -94,6 +94,8 @@ sed -i -e 's|^java|#!/bin/sh\njava \\\
    -e 's|/usr/share/java/|%{_libdir}/%{name}/|' \
    pm_java/pmdefaults/pmdefaults
 
+# Fix build against cmake-2.8.5
+sed -i 's|WORKING_DIRECTORY pm_java||' pm_java/CMakeLists.txt
 
 %build
 export JAVA_HOME=%{java_home}
@@ -219,6 +221,9 @@ rm -rf %{buildroot}
 %{_libdir}/lib*.so
 
 %changelog
+* Thu Jun 23 2011 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 217-4
+- Fix FTBFS due to changes in cmake. RHBZ #715668
+
 * Sat May 14 2011 Daniel Drake <dsd at laptop.org> - 217-3
 - move Requires:Java to tools subpackage, its not needed by the main package
 


More information about the scm-commits mailing list