[cmake-developers] [CMake 0011873]: [CPackRPM] %files section in spec file directories
Mantis Bug Tracker
mantis at public.kitware.com
Wed Feb 16 17:13:12 EST 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=11873
======================================================================
Reported By: yorjo
Assigned To:
======================================================================
Project: CMake
Issue ID: 11873
Category: CPack
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-02-16 17:13 EST
Last Modified: 2011-02-16 17:13 EST
======================================================================
Summary: [CPackRPM] %files section in spec file directories
Description:
CPackRPM doesn't handle symlink directories correctly
For example, my expected directory structured should be:
find -type f -o -type l | sed {s/\\.//}
/lib64/libmccparser.so
/lib64/libmccparser.so.2.0.0
/include/mccparser
/include/mccparser-2.0.0/Version.h
/include/mccparser-2.0.0/mccparser.h
where /include/mccparser is a symlink to /include/mccparser-2.0.0:
However, the produced RPM doesn't include the symlink directory:
rpm -qpl mccparser-2.0.0.rpm
/usr/include/mccparser-2.0.0/Version.h
/usr/include/mccparser-2.0.0/mccparser.h
/usr/lib64/libmccparser.so
/usr/lib64/libmccparser.so.2.0.0
with the side effect that the mccparler-2.0.0 directory is not deleted with an
rpm --erase mccparser
Steps to Reproduce:
Using cmake-2.8.2
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-02-16 17:13 yorjo New Issue
======================================================================
More information about the cmake-developers
mailing list