Modify the requirement of devel package 18/286818/1
authorSangYoun Kwak <sy.kwak@samsung.com>
Fri, 13 Jan 2023 08:21:13 +0000 (17:21 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Fri, 13 Jan 2023 08:21:13 +0000 (17:21 +0900)
The "devel" package gives hint about libraries to use the "sensor" package
to the other packages.
Before this commit, the "devel" package required the "sensor-dummy"
package. It was valid when the "sensor-dummy" has "libsensor.so.4".
But now, the "sensor-dummy" has no real "libsensor.so.4" but has
"libsensor-dummy.so" so the other packages which requires the package
"sensor" will require "libsensor-dummy.so", which is not correct.
Modifying the requirement of devel package as the "sensord" will fix
this.

Change-Id: I25eaa772bcfd7edbee46aaf823adfef36630f70e
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
packaging/sensord.spec

index 643863c..407863e 100644 (file)
@@ -52,7 +52,7 @@ Installing %{name} replaces this dummy library with the actually functional libr
 %package    devel
 Summary:    Internal Sensor API (Development)
 Group:      System/Development
-Requires:   %{name}-dummy = %{version}-%{release}
+Requires:   %{name} = %{version}-%{release}
 # To support old-snapshot-based package builds
 #Provides:   libsensord-devel