[
https://issues.apache.org/jira/browse/BIGTOP-1344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14133563#comment-14133563
]
Peter Linnell commented on BIGTOP-1344:
---------------------------------------
%{_rpmconfigdir} is not going to work on SLES 11. It is not defined in the
standard macros file
It will work on later openSUSE releases and upcoming SLES 12.
At least for SUSE and openSUSE %{_rpmconfigdir} is always /usr/lib/rpm
So, this can be ifdef'd and defined in the spec files of each package.
> spec files assume RPMs being built on Red Hat
> ---------------------------------------------
>
> Key: BIGTOP-1344
> URL: https://issues.apache.org/jira/browse/BIGTOP-1344
> Project: Bigtop
> Issue Type: Bug
> Components: rpm
> Affects Versions: 0.8.0
> Environment: Amazon Linux
> Reporter: Allen Wittenauer
> Assignee: Peter Linnell
> Fix For: 0.9.0
>
> Attachments:
> 0001-BIGTOP-1344-spec-files-assume-RPMs-being-built-on-Re.patch
>
>
> It would appear the spec files have the locations of brp-compress, etc in the
> __os_install_post stanza are hard-coded with Red Hat paths. If you try to
> build RPMs on, for example, an Amazon AMI (and probably OEL as well), those
> programs are not located there.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)