Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=577152
--- Comment #4 from Kalev Lember kalev@smartlink.ee 2010-03-27 08:03:08 EDT --- (In reply to comment #3)
Thanks for clarification. currently fedora doesn't have a packaging guideline according to cmake modules(even a draft), so I'm a little confusion about this, historically cmake package didn't own {_libdir}/cmake and some packages store cmake modules on %{_datadir}/cmake/%{name} (e.g. boost 1.41).
Right, cmake searches in both %{_datadir}/cmake/ and %{_libdir}/cmake/ (and some more places), it's just that you can't put arch-specific configuration in %{_datadir}.
Just for reference I looked up what packages install in these directories.
Packages which install cmake modules in %{_datadir}/cmake/: shared-desktop-ontologies-devel boost-devel
Packages which install cmake modules in %{_libdir}/cmake/: kdepimlibs-devel kdevplatform-devel kdebase-workspace-devel akonadi-devel