summaryrefslogtreecommitdiff
path: root/packaging/readline.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/readline.spec')
-rw-r--r--packaging/readline.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/readline.spec b/packaging/readline.spec
index 52608c8..7cc3f80 100644
--- a/packaging/readline.spec
+++ b/packaging/readline.spec
@@ -112,6 +112,9 @@ rm -fv %{buildroot}%{_infodir}/*.info*
rm -f %{buildroot}%{_datadir}/doc/%{name}/CHANGES \
%{buildroot}%{_datadir}/doc/%{name}/README \
%{buildroot}%{_datadir}/doc/%{name}/INSTALL
+# Remove examples
+rm -rf %{buildroot}%{_datadir}/%{name}
+
%post -n libreadline -p /sbin/ldconfig