summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hal-api-sensor.pc2
-rw-r--r--packaging/hal-api-sensor.spec4
2 files changed, 3 insertions, 3 deletions
diff --git a/hal-api-sensor.pc b/hal-api-sensor.pc
index 4660d41..be266ef 100644
--- a/hal-api-sensor.pc
+++ b/hal-api-sensor.pc
@@ -3,7 +3,7 @@
package_name=hal-api-sensor
prefix=/usr
exec_prefix=/usr/bin/hal
-libdir=/usr/lib//hal
+libdir=@LIBDIR@/hal
includedir=/usr/include/hal
Name: ${package_name}
diff --git a/packaging/hal-api-sensor.spec b/packaging/hal-api-sensor.spec
index ca81eea..fa57960 100644
--- a/packaging/hal-api-sensor.spec
+++ b/packaging/hal-api-sensor.spec
@@ -52,8 +52,8 @@ Sensor HAL(Hardware Abstraction Layer) Test Cases
cp %{SOURCE1} .
cp %{SOURCE2} .
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
- -DCMAKE_LIBDIR_PREFIX=%{_libdir} \
- -DHALTEST=on
+ -DCMAKE_LIBDIR_PREFIX=%{_libdir} \
+ -DHALTEST=on
make %{?jobs:-j%jobs}
%install