[Bug 1249716] rt-4.2.11-1.fc24 FTBFS: Installed (but unpackaged) file(s) found with rpm-4.13

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 6 11:17:08 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1249716

Ralf Corsepius <rc040203 at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
          Component|rt                          |rpm
           Assignee|rc040203 at freenet.de         |packaging-team-maint at redhat
                   |                            |.com



--- Comment #3 from Ralf Corsepius <rc040203 at freenet.de> ---
(In reply to Ľuboš Kardoš from comment #2)
> The problem is that in a previous version of rpm was bug causing that all
> files in %{_pkgdocdir} became part of a package despite the fact that they
> wasn't explicitly listed in file list (#728959). We fixed that bug and
> changed that behaviour intentionally. I understand that this change of
> behaviour is unpleasant for you 

Please understand that I do not agree with you. IMO, you FUBARed rpm's %doc
handling.

> because it causes FTBS but former behaviour
> was broken and we don't plan to revert back to that behaviour.
There was nothing wrong with this package.

It was installing some files into %_pkgdocdir directly and was adding others
using %doc.

This was one way, recommended by the former rpm-maintainer - You broke that!

> BTW %doc followed by relative paths of files copies these files from BUILD
> to BUILDROOT/%{_pkgdocdir}. And you don't need to do that because this is
> already done by your install script (by "make install"). 
You are wrong again.

rt's "make install" installs a lot of files into %_pkgdocdir. %doc was used to
add some files.

> You don't need to use %doc for absolute paths in %{_pkgdocdir} either
> because all files in %{_pkgdocdir} are automatically marked as doc files.

For now, I resorted to manually install those files, which used to be %doc and
to use
%files
%{_pkgdocdir}

Also, let me emphasize that I furthon will not step in to fix FTBS in future
mass rebuild because I consider these FTBSes your responsibility, which is why
I am expecting you to fix each and every package yourselves.

Alos, IMO, your change does not fix anything in rpms. To the contrary. You
broke rpm.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the perl-devel mailing list