Bug 1044738 - doc files is packaged twice
Summary: doc files is packaged twice
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 20
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-18 21:51 UTC by Pavel Zhukov
Modified: 2014-06-18 07:22 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-18 22:56:51 UTC


Attachments (Terms of Use)

Description Pavel Zhukov 2013-12-18 21:51:06 UTC
Description of problem:
If %{_docdir}/%{name} is in the -doc package It's also packed in the main package without any warnings.

Version-Release number of selected component (if applicable):
rpm-4.11.1-7.fc20.x86_64

How reproducible:
Try to add doc subpackage with doc files from %{buildroot} (for example generated pdf files).

Actual results:
%{_docdir}/%{name}/* are in main package and doc subpackage.

Expected results:
MUST be in doc subpackage only


Additional info:
For reference two packages built from the same spec file:
http://mirror.yandex.ru/fedora/linux/releases/19/Everything/x86_64/os/Packages/a/aws-2.11.0-16.fc19.x86_64.rpm doesn't contain docs
http://mirror.yandex.ru/fedora/linux/releases/20/Everything/x86_64/os/Packages/a/aws-2.11.0-17.fc20.x86_64.rpm contains ones

Comment 1 Pavel Zhukov 2013-12-18 22:56:51 UTC
https://fedorahosted.org/fpc/ticket/338


Note You need to log in before you can comment on or make changes to this bug.