diff --git a/cdk.spec b/cdk.spec index 0daadbe..b400cbe 100644 --- a/cdk.spec +++ b/cdk.spec @@ -8,6 +8,7 @@ Summary: Curses Development Kit License: BSD with advertising URL: http://invisible-island.net/cdk/ Source0: ftp://invisible-island.net/cdk-%{mainver}-%{datever}.tgz +BuildRequires: gcc BuildRequires: ncurses-devel %description @@ -38,12 +39,11 @@ chmod +x %{buildroot}%{_libdir}/*.so find %{buildroot} -name '*.a' -delete -print -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -%doc CHANGES COPYING EXPANDING INSTALL NOTES README TODO VERSION examples demos +%license COPYING +%doc CHANGES EXPANDING INSTALL NOTES README TODO VERSION examples demos %{_libdir}/libcdk.so.* %{_mandir}/man3/*.3*