Bug 7925

Summary: files marked as doc now produces requires and provides
Product: Mageia Reporter: Funda Wang <fundawang>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: nic
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: rpm CVE:
Status comment:

Description Funda Wang 2012-10-29 08:46:32 CET
It seems that files marked as doc are now producing requires and provides, but we didn't scan those files in the past.

See:
http://svnweb.mageia.org/packages/cauldron/nautilus-python/current/SPECS/nautilus-python.spec?r1=311440&r2=311439&pathrev=311440

I have to use exclude_files_from_autoreq to exclude those files from autoreq.
Manuel Hiebel 2012-10-29 18:27:29 CET

Assignee: bugsquad => thierry.vignaud

Comment 1 Thierry Vignaud 2012-10-30 08:59:16 CET
Can you attach a small spec file that would display that behavior on mga3 but not on previous releases?

Keywords: (none) => NEEDINFO

Comment 2 Funda Wang 2012-10-30 10:44:43 CET
$ cat pytest.spec
Name: pytest
Summary: pytest
Version: 0
Release: %mkrel 0
Group: System/Libraries
License: Public Domain
 
%description
pytest.
 
%prep
cat >pytest.py <<EOF
from gi.repository import Gtk
EOF
 
%files
%doc pytest.py


==============================================
Previously in mandriva, it used to produce:
$ rpm -qp --requires pytest-0-0mdv2009.0.i586.rpm
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsLzma) <= 4.4.6-1

But in mageia 2 (and 3), it produces:
$ rpm -qp --requires pytest-0-0.mga2.x86_64.rpm
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
python(abi)
python-gi >= 2.90.2
typelib(Gtk)
rpmlib(PayloadIsLzma) <= 4.4.6-1
Comment 3 Nic Baxter 2015-03-31 02:12:50 CEST
No comments for ever. Obviously there is no need to keep open. Housekeeping wins.

Status: NEW => RESOLVED
CC: (none) => nic
Resolution: (none) => OLD