From 3bdd72c534547a1ce191ad2bbe83c977aeb9af9e Mon Sep 17 00:00:00 2001 From: Alec Leamas Date: Aug 18 2014 11:31:49 +0000 Subject: Add missing patch (how did this ever build?). --- diff --git a/iguanaIR.spec b/iguanaIR.spec index d366f46..92963e5 100644 --- a/iguanaIR.spec +++ b/iguanaIR.spec @@ -1,6 +1,6 @@ Name: iguanaIR Version: 1.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Driver for Iguanaworks USB IR transceiver Group: System Environment/Daemons @@ -166,6 +166,9 @@ fi %{_bindir}/%{name}-reflasher %changelog +* Mon Aug 18 2014 Alec Leamas - 1.1.0-3 +- Add missing patch (how did this ever build?). + * Sat Aug 16 2014 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/rpath.patch b/rpath.patch new file mode 100644 index 0000000..e3b54de --- /dev/null +++ b/rpath.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6bdf24d..7ca5c4b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -71,6 +71,9 @@ ElseIf("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") + Set(DAEMONLIBS pthread dl) + EndIf() + ++ Set(CMAKE_SKIP_RPATH True) ++ Set(INSTALL_LIBDIR @libdir@) ++ + Set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall -pedantic") + + # see if we have clock_gettime in time.h +