diff options
author | WaLyong Cho <walyong.cho@samsung.com> | 2016-10-17 14:17:48 +0900 |
---|---|---|
committer | WaLyong Cho <walyong.cho@samsung.com> | 2016-10-17 14:17:48 +0900 |
commit | 180b960e147acef0e770966bb0716e9975e4520a (patch) | |
tree | 3cef1bd8eb460867bae83cacfe1313efcc82e8ff /packaging | |
parent | 9c61ac82c790b7f09eb6f77f757e6ad3eff5da3c (diff) | |
download | libsystem-180b960e147acef0e770966bb0716e9975e4520a.tar.gz libsystem-180b960e147acef0e770966bb0716e9975e4520a.tar.bz2 libsystem-180b960e147acef0e770966bb0716e9975e4520a.zip |
rpm: spec: modify rpm spec properly
Change-Id: I6db9c93c3d398c9d60875265d2dce6e049df59b3
Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/libsystem.spec | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/packaging/libsystem.spec b/packaging/libsystem.spec index 7172d32..9d7051a 100644 --- a/packaging/libsystem.spec +++ b/packaging/libsystem.spec @@ -2,8 +2,8 @@ Name: libsystem Summary: System Libraries Version: 3.6 Release: 5 -License: Apache License v2 -Group: System/Base +License: Apache-2.0 +Group: System/Libraries Source: %{name}-%{version}.tar.gz BuildRequires: autoconf @@ -15,27 +15,30 @@ BuildRequires: pkgconfig(gio-2.0) Requires: /bin/cp +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + %description System libraries. %package devel Summary: Development header files for System Libraries -License: Apache License v2 +License: Apache-2.0 Requires: pkgconfig(glib-2.0) %description devel Development headers and auxiliary files. %package -n libsystem-sd -Summary: systemd utility libraries -License: Apache License v2 +Summary: Utility libraries for systemd +License: Apache-2.0 %description -n libsystem-sd systemd utility libraries. %package -n libsystem-sd-devel Summary: Development header files for systemd util -License: Apache License v2 +License: Apache-2.0 Requires: pkgconfig(gio-2.0) Requires: pkgconfig(dbus-1) Requires: pkgconfig(libsystem) @@ -67,6 +70,17 @@ make %{?_smp_mflags} # Remove local archives rm -f %{buildroot}%{_libdir}/*.la + +%post +/sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post -n libsystem-sd +/sbin/ldconfig + +%postun -n libsystem-sd -p /sbin/ldconfig + %files %defattr(-,root,root,-) %{_libdir}/libsystem.so.* |