From 648b40963f63f480896486713590dac017cf79bf Mon Sep 17 00:00:00 2001 From: Dariusz Michaluk Date: Mon, 11 May 2015 16:22:53 +0200 Subject: [PATCH] Cleanup RPM spec file. Fix RPMLINT errors. [Bug/Feature] Cleanup RPM spec file. Fix RPMLINT errors. [Cause] N/A [Solution] N/A [Verification] Build, install, uninstall. Change-Id: I063dd412b1999b9cda5e2cdf3d62ee2282abca1b --- packaging/vasum.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packaging/vasum.spec b/packaging/vasum.spec index 07b2f0c..d2c7fe0 100644 --- a/packaging/vasum.spec +++ b/packaging/vasum.spec @@ -125,6 +125,10 @@ Requires(postun): /sbin/ldconfig %description client Library interface to the vasum daemon +%post -n vasum-client -p /sbin/ldconfig + +%postun -n vasum-client -p /sbin/ldconfig + %files client %manifest packaging/libvasum-client.manifest %defattr(644,root,root,755) @@ -133,10 +137,6 @@ Library interface to the vasum daemon %attr(755,root,root) %{_libdir}/libvasum.so.%{version} %{_libdir}/libvasum.so.0 -%post client -p /sbin/ldconfig - -%postun client -p /sbin/ldconfig - ## Devel Package ############################################################### %package devel @@ -207,7 +207,7 @@ Requires: vasum-cli = %{epoch}:%{version}-%{release} #Requires: bash-completion %description cli-completion -Command Line Interface bash completion. +Command Line Interface bash completion for vasum. %files cli-completion %attr(755,root,root) %{_sysconfdir}/bash_completion.d/vasum-cli-completion.sh @@ -275,7 +275,7 @@ The package provides libLogger library. %package -n libLogger-devel Summary: Development logger library Group: Development/Libraries -Requires: libLogger = %{version}-%{release} +Requires: libLogger = %{epoch}:%{version}-%{release} %description -n libLogger-devel The package provides libLogger development tools and libs. @@ -308,7 +308,7 @@ The package provides libSimpleDbus library. %package -n libSimpleDbus-devel Summary: Development Simple dbus library Group: Development/Libraries -Requires: libSimpleDbus = %{version}-%{release} +Requires: libSimpleDbus = %{epoch}:%{version}-%{release} Requires: pkgconfig(libLogger) %description -n libSimpleDbus-devel @@ -342,7 +342,7 @@ The package provides libConfig library. %package -n libConfig-devel Summary: Development Config library Group: Development/Libraries -Requires: libConfig = %{version}-%{release} +Requires: libConfig = %{epoch}:%{version}-%{release} Requires: boost-devel Requires: pkgconfig(libLogger) Requires: libjson-devel -- 2.7.4