From 34528f5f20bcae67071bf6d66fe947719a37c9f6 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Jul 07 2018 01:28:41 +0000 Subject: Remove scriptlets that manipulate info entries. --- diff --git a/check.spec b/check.spec index 431c5e0..bdc86b7 100644 --- a/check.spec +++ b/check.spec @@ -17,9 +17,6 @@ BuildRequires: pkgconfig BuildRequires: subunit-devel BuildRequires: texinfo -Requires(post): info -Requires(preun): info - %description Check is a unit test framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. Tests @@ -62,6 +59,10 @@ programs suitable for use with the Check unit test framework. sed -e '/DECLS(\[a/s|)|,,,[AC_INCLUDES_DEFAULT\n[#include \n #include ]]&|' \ -i configure.ac +# Improve the info directory entry +sed -e 's/\(Check: (check)\)Introduction./\1. A unit testing framework for C./' \ + -i doc/check.texi + # Get rid of version control files find . -name .cvsignore -exec rm {} + @@ -94,18 +95,6 @@ rm -rf checkmk/test/check_checkmk* # these files are empty rm -rf checkmk/test/empty_input -%post -if [ -e %{_infodir}/%{name}.info* ]; then - /sbin/install-info \ - --entry='* Check: (check). A unit testing framework for C.' \ - %{_infodir}/%{name}.info %{_infodir}/dir || : -fi - -%preun -if [ $1 = 0 -a -e %{_infodir}/%{name}.info* ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : -fi - %ldconfig_scriptlets %files