diff --git a/hamlib.spec b/hamlib.spec index f289a7d..f77868c 100644 --- a/hamlib.spec +++ b/hamlib.spec @@ -1,6 +1,6 @@ Name: hamlib Version: 1.2.3 -Release: 2 +Release: 4 License: LGPL Group: System Environment/Libraries Summary: Run-time library to control radio transcievers and receivers. @@ -16,6 +16,8 @@ BuildRequires: binutils >= 2.9.4, gcc >= 2.95, glibc-devel >= 2.1 BuildRequires: gzip, make >= 3.77, patch >= 2.5, rpm >= 3.0, sed BuildRequires: textutils python-devel swig gd-devel BuildRequires: doxygen +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig %description Hamlib provides a standardised programming interface that applications @@ -37,6 +39,8 @@ for building C applications with Hamlib. %package c++ Summary: Hamlib radio control library C++ binding Group: Development/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig %description c++ Hamlib radio control library C++ language binding. @@ -135,6 +139,10 @@ rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig +%post c++ -p /sbin/ldconfig + +%postun c++ -p /sbin/ldconfig + %files %defattr(-, root, root) %doc COPYING doc/html @@ -197,6 +205,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Mar 17 2005 Ignacio Vazquez-Abrams 1.2.3-4 +- Fixed %post and %postun along with Requires(...) + * Wed Mar 16 2005 Ignacio Vazquez-Abrams 1.2.3-3 - Spell-corrected %description