diff options
-rw-r--r-- | packaging/readline.spec | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/readline.spec b/packaging/readline.spec index 971a802..92faadc 100644 --- a/packaging/readline.spec +++ b/packaging/readline.spec @@ -111,6 +111,10 @@ cp %{SOURCE1001} . rm -fv %{buildroot}%{_mandir}/man3/history.3* rm -fv %{buildroot}%{_infodir}/*.info* + rm -f %{buildroot}/%{_libdir}/libhistory.a + rm -f %{buildroot}/%{_libdir}/libreadline.a +%remove_docs + %post -n libreadline -p /sbin/ldconfig %postun -n libreadline -p /sbin/ldconfig @@ -129,10 +133,7 @@ cp %{SOURCE1001} . %manifest %{name}.manifest %defattr(-,root,root) %{_incdir}/readline/ -%{_libdir}/libhistory.a %{_libdir}/libhistory.so -%{_libdir}/libreadline.a %{_libdir}/libreadline.so -%doc %{_mandir}/man3/readline.3.gz %changelog |