Bug 583187

Summary: sharutils package includes an empty manpage
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: sharutilsAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: kasal, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sharutils-4.9-1.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-22 17:16:48 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:
Attachments:
Description Flags
Proposed fix none

Description Michal Jaegermann 2010-04-16 23:29:14 UTC
Description of problem:

A file /usr/share/man/man1/compress-dummy.1.gz from sharutils package has a length 20 but 

zcat /usr/share/man/man1/compress-dummy.1.gz | wc

produces "      0       0       0".  Is this really an intended result?  Does not seem to be overly useful and easy to drop while packaging.

Version-Release number of selected component (if applicable):
sharutils-4.7-6.fc13

Additional info:
At least sharutils-4.7-4.fc11 has the same issue.

Comment 1 Petr Pisar 2010-04-22 12:18:04 UTC
*** Bug 584778 has been marked as a duplicate of this bug. ***

Comment 2 Petr Pisar 2010-04-22 12:20:20 UTC
Created attachment 408306 [details]
Proposed fix

This patch removes the empty manual page. All Fedoras 10-14 are affected.

Comment 3 Michal Jaegermann 2010-04-22 13:18:45 UTC
(In reply to comment #2)
> Created an attachment (id=408306) [details]
> Proposed fix

> rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/compress-dummy.1

Does it really work?  If at this moment this file is already compressed then its suffix will be different.  It seems that "rm -f .../man1/compress-dummy.*" would be safer.

Comment 4 Petr Pisar 2010-04-22 13:28:46 UTC
It works because removal is in %install. Compression is proceeded by %doc macro later then.

Comment 5 Fedora Admin XMLRPC Client 2010-06-03 09:31:10 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Fedora Update System 2010-06-03 13:38:00 UTC
sharutils-4.9-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/sharutils-4.9-1.fc13

Comment 7 Fedora Update System 2010-06-03 13:44:56 UTC
sharutils-4.9-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/sharutils-4.9-1.fc12

Comment 8 Petr Pisar 2010-06-03 13:52:43 UTC
This bug will be fixed by upgrade to sharutils-4.9 in F14--12. F11 will remains unpatched as this is minor bug and it nears end of life (and former package owner did not orphaned F11).

Comment 9 Fedora Update System 2010-06-04 18:55:00 UTC
sharutils-4.9-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update sharutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/sharutils-4.9-1.fc12

Comment 10 Fedora Update System 2010-06-22 17:16:39 UTC
sharutils-4.9-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-06-22 17:21:23 UTC
sharutils-4.9-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.