Revert "packaging: Add some packages as Requires(post)" 46/309346/2
authorYoungjae Cho <y0.cho@samsung.com>
Tue, 9 Apr 2024 04:46:43 +0000 (13:46 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 15 Apr 2024 08:05:11 +0000 (08:05 +0000)
This reverts commit 2bf62bbf6f24df736e3fc2360abbb70ce90eea6e.

It seems better that the /sbin/ldconfig is taken by the same package
on installing and uninstalling.

Change-Id: Iba4940fcce2ca6e2539bcfbd9897a83cd34e0880

packaging/hal-api-common.spec

index 7f1e5a72a2296a703feffd93af012e7a19ca9e20..9d8d7904d5de25d0e0afad1936e4efbaced52e2e 100644 (file)
@@ -46,10 +46,6 @@ Requires:    %{name} = %{version}-%{release}
 %package -n %{test_name}
 Summary: tests for hal-api-common
 Requires: hal-api-common = %{version}
-Requires(post): /sbin/ldconfig
-Requires(post): systemd
-Requires(post): security-config
-Requires(postun): /sbin/ldconfig
 
 %description -n %{test_name}
 Haltests for hal-api-common
@@ -85,7 +81,7 @@ install -D -m 0755 %{SOURCE8} %{buildroot}%{_bindir}/reboot-normal
 %clean
 rm -rf %{buildroot}
 
-%post -n %{test_name}
+%post
 /sbin/ldconfig
 
 %postun