[iguanaIR/f20] Add missing patch (how did this ever build?).

leamas leamas at fedoraproject.org
Mon Aug 18 11:26:30 UTC 2014


commit 51cb77f527f21d1f1d394be8a44d0a9e61e09b74
Author: Alec Leamas <leamas.alec at gmail.com>
Date:   Mon Aug 18 13:26:15 2014 +0200

    Add missing patch (how did this ever build?).

 iguanaIR.spec |    5 ++++-
 rpath.patch   |   15 +++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/iguanaIR.spec b/iguanaIR.spec
index e4aa3cf..2fa25d8 100644
--- a/iguanaIR.spec
+++ b/iguanaIR.spec
@@ -1,6 +1,6 @@
 Name:           iguanaIR
 Version:        1.1.0
-Release:        1%{?dist}
+Release:        2%{?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 <leamas.alec at gmail.com> - 1.1.0-2
+- Add missing patch (how did this ever build?).
+
 * Mon Aug 11 2014 Alec Leamas <leamas.alec at gmail.com> - 1.1.0-1
 - Updating to latest version
 - Old patches now upstreamed, new patches for cmake required. LIBDIR handling
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
+


More information about the scm-commits mailing list