Bug 1044738

Summary: doc files is packaged twice
Product: [Fedora] Fedora Reporter: Pavel Zhukov <pzhukov>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: ffesti, jzeleny, nobody, novyjindrich, packaging-team-maint, pknirsch
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-18 22:56:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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