RPM

Make behaviour of %filelist and its contents like %doc consistent

Bug #637240 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
New
Undecided
Unassigned
CentOS
Fix Released
Unknown
Fedora
Fix Released
Medium

Bug Description

tracker

Revision history for this message
In , Paolo (paolo-redhat-bugs) wrote :

Created attachment 360048
A sample spec file to reprdouce this issue

After updating to rpm 4.7.1 (rpm-4.7.1-1.fc11.x86_64) I got troubles building RPM packages in which installed files are specified via %files -f /path/to/file/list since now rpm prepends %{_builddir}/%{buildsubdir} to -f argument.
AFAIK it should be possible to read the file list from a file locate anywhere in the filesystem.

Revision history for this message
In , Panu (panu-redhat-bugs) wrote :

We might change it back to allow absolute pathnames but using a static name for a file in /tmp or /var/tmp like this is not a particularly good idea. The build dir is the "natural" place for this, as the file is specific to that particular build.

Revision history for this message
In , Paolo (paolo-redhat-bugs) wrote :

I agree with you: the builddir is the "natural" place for the list file. However assuming that this file must be specified with the relative path to the builddir has a couple of drawbacks which are not backward compatible:
1) the file cannot be specified with the absolute path name even though it resides into the buildir.
2) people used to place this file somewere else cannot build the packages on systems using different rpm versions.

Revision history for this message
In , Panu (panu-redhat-bugs) wrote :

Yup.. and then there's "%files -f %{SOURCE10}" style use-case. Fixed in rawhide now but leaving open for F11 tracking.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

rpm-4.7.1-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/rpm-4.7.1-3.fc11

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

rpm-4.7.1-3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with
 su -c 'yum --enablerepo=updates-testing update rpm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10354

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

rpm-4.7.1-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.

Jeff Johnson (n3npq)
tags: added: macros rpm.org rpmbuild
Changed in centos:
status: Unknown → New
Changed in centos:
status: New → Fix Released
Changed in fedora:
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.