Bug 131272

Summary: Missing install-info and ldconfig calls
Product: [Fedora] Fedora Reporter: Matthias Saou <matthias>
Component: gettextAssignee: Leon Ho <llch>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bugs.michael
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-04 04:26:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 123268    

Description Matthias Saou 2004-08-30 17:24:36 UTC
Description of problem:
The current gettext-devel package contains shared libraries and an
info file, but no scriplets to run either /sbin/ldconfig nor
/sbin/install-info.

Version-Release number of selected component (if applicable):
gettext-devel-0.14.1

How reproducible:
Always.

Steps to Reproduce:
1. rpm -q --scripts gettext-devel-0.14.1
  
Actual results:
Nothing.

Expected results:
%post
/sbin/ldconfig
                                                                     
          /sbin/install-info %{_infodir}/autosprintf.info.gz
%{_infodir}/dir

%preun
if [ $1 -eq 0 ]; then
    /sbin/install-info --delete %{_infodir}/autosprintf.info.gz
%{_infodir}/dir
fi

%postun
/sbin/ldconfig

Additional info:
None.

Comment 1 Michael Schwendt 2004-09-26 14:56:41 UTC
Are the links

  /usr/lib/libgettextlib.so -> libgettextlib-0.14.1.so
  /usr/lib/libgettextsrc.so -> libgettextsrc-0.14.1.so

needed at run-time? If not, they should be moved into the
gettext-devel package. "rpm -qR gettext" lists dependencies on
libgettextlib-0.14.1.so and libgettextsrc-0.14.1.so only.


Comment 2 Leon Ho 2004-10-04 04:26:33 UTC
Thanks for the reporting. It is fixed in rawhide.