From f16701ebbd76e7fcb595c1a90573b661acc6903b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:02:04 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- gsl.spec | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/gsl.spec b/gsl.spec index 5c4f097..94cfb37 100644 --- a/gsl.spec +++ b/gsl.spec @@ -26,8 +26,6 @@ numerical analysis, written in C. Summary: Libraries and the header files for GSL development Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info Requires: pkgconfig, automake %description devel @@ -63,21 +61,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la # remove static libraries rm -r $RPM_BUILD_ROOT%{_libdir}/*.a - %ldconfig_scriptlets -%post devel -if [ -f %{_infodir}/gsl-ref.info.gz ]; then - /sbin/install-info %{_infodir}/gsl-ref.info %{_infodir}/dir || : -fi - -%preun devel -if [ "$1" = 0 ]; then - if [ -f %{_infodir}/gsl-ref.info.gz ]; then - /sbin/install-info --delete %{_infodir}/gsl-ref.info %{_infodir}/dir || : - fi -fi - %files %license COPYING %doc AUTHORS ChangeLog NEWS README THANKS TODO