From 1ebcbd5e46a89af542cdfc2070ad668f65654905 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 18:58:44 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- glibc.spec | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/glibc.spec b/glibc.spec index 1328315..1a5cf2a 100644 --- a/glibc.spec +++ b/glibc.spec @@ -314,7 +314,6 @@ applications should use libnsl2 instead to gain IPv6 support. ############################################################################## %package devel Summary: Object files for development using standard C libraries. -Requires(pre): /sbin/install-info Requires(pre): %{name}-headers Requires: %{name}-headers = %{version}-%{release} Requires: %{name} = %{version}-%{release} @@ -1772,24 +1771,12 @@ end -- recreate a new copy of the cache. os.remove("%{_prefix}/lib/locale/locale-archive") -%if %{with docs} -%post devel -/sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir > /dev/null 2>&1 || : -%endif - %pre headers # this used to be a link and it is causing nightmares now if [ -L %{_prefix}/include/scsi ] ; then rm -f %{_prefix}/include/scsi fi -%if %{with docs} -%preun devel -if [ "$1" = 0 ]; then - /sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir > /dev/null 2>&1 || : -fi -%endif - %pre -n nscd getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd getent passwd nscd >/dev/null ||