From 588c2b02b666833a4c9d92ffafe9d77e8d8eb51a Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Feb 18 2010 21:48:13 +0000 Subject: - Added missing -lm in indi_apogeeu_ccd and indi_apogeeu_ccd. Fixes bz #564703 --- diff --git a/indi-apogee-dso.patch b/indi-apogee-dso.patch new file mode 100644 index 0000000..c3f2bf4 --- /dev/null +++ b/indi-apogee-dso.patch @@ -0,0 +1,14 @@ +diff -ur indi-apogee-1.0/CMakeLists.txt indi-apogee-1.0.new/CMakeLists.txt +--- indi-apogee-1.0/CMakeLists.txt 2010-02-18 22:23:13.000000000 +0100 ++++ indi-apogee-1.0.new/CMakeLists.txt 2010-02-18 22:23:00.000000000 +0100 +@@ -39,8 +39,8 @@ + add_executable(indi_apogeeu_ccd ${indiapogee_SRCS}) + add_executable(indi_apogeee_ccd ${indiapogee_SRCS}) + +-target_link_libraries(indi_apogeeu_ccd ${INDI_LIBRARIES} ${INDI_DRIVER_LIBRARIES} ${CFITSIO_LIBRARIES} ${APOGEEU_LIBRARIES} z) +-target_link_libraries(indi_apogeee_ccd ${INDI_LIBRARIES} ${INDI_DRIVER_LIBRARIES} ${CFITSIO_LIBRARIES} ${APOGEEE_LIBRARIES} z) ++target_link_libraries(indi_apogeeu_ccd ${INDI_LIBRARIES} ${INDI_DRIVER_LIBRARIES} ${CFITSIO_LIBRARIES} ${APOGEEU_LIBRARIES} m z) ++target_link_libraries(indi_apogeee_ccd ${INDI_LIBRARIES} ${INDI_DRIVER_LIBRARIES} ${CFITSIO_LIBRARIES} ${APOGEEE_LIBRARIES} m z) + + if (NOVA_FOUND) + target_link_libraries(indi_apogeeu_ccd ${NOVA_LIBRARIES}) diff --git a/indi-apogee.spec b/indi-apogee.spec index cda6f90..13d7258 100644 --- a/indi-apogee.spec +++ b/indi-apogee.spec @@ -1,6 +1,6 @@ Name: indi-apogee Version: 1.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: The INDI driver for Apogee Alta (U & E) line of CCDs Group: Development/Libraries @@ -9,6 +9,9 @@ URL: http://indi.sourceforge.net/ Source0: http://downloads.sourceforge.net/indi/%{name}_%{version}.tar.gz Patch0: indi-apogee-cfitsio.patch + +# https://sourceforge.net/tracker/?func=detail&aid=2954467&group_id=90275&atid=593019 +Patch1: indi-apogee-dso.patch Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: cmake libusb-devel cfitsio-devel zlib-devel @@ -21,6 +24,7 @@ Alta (U & E) line of CCDs. %prep %setup -q -n %{name}-%{version} %patch0 -p1 +%patch1 -p1 %build %cmake @@ -40,6 +44,9 @@ rm -rf %{buildroot} %{_datadir}/indi/* %changelog +* Fri Jan 08 2010 Sergio Pascual - 1.0-6 +- Added missing -lm in indi_apogeeu_ccd and indi_apogeeu_ccd. Fixes bz #564703 + * Fri Jan 08 2010 Sergio Pascual - 1.0-5 - EVR bump, rebuilt with new libnova