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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #2 from Ľuboš Kardoš <lkardos@xxxxxxxxxx> ---
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 because it causes FTBS but former behaviour was broken and
we don't plan to revert back to that behaviour. Please fix your package.

Your install script (during "make install") installs some files in
/usr/share/doc/rt/docs. To fix this problem it will be enough to list all those
files in file list section of your spec.

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 don't need to use %doc for absolute paths in %{_pkgdocdir} either because
all files in %{_pkgdocdir} are automatically marked as doc files.

So this:

%files
%doc %{_pkgdocdir}/docs/README
...

is the same as:

%files
%{_pkgdocdir}/docs/README
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux