[publican-list] [Bug 735688] publican build fails on unrelated rpmlint error

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 6 06:34:03 UTC 2011


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=735688

--- Comment #5 from Jeff Fearn <jfearn at redhat.com> 2011-09-06 02:34:02 EDT ---
(In reply to comment #4)
> However, once I use a versioned BuildRequires for publican in pacemaker.spec,
> the error changes to the one I created the bug for:
>
> pacemaker.src:355: E: hardcoded-library-path in /usr/lib/ocf
> A library path is hardcoded to one of the following paths: /lib, /usr/lib. It
> should be replaced by something like /%{_lib} or %{_libdir}.
> pacemaker.src:356: E: hardcoded-library-path in /usr/lib/ocf/resource.d
> 
> Note that it is impossible for me to change the location of /usr/lib/ocf and
> avoid the error.

Isn't this error just saying that you need to change the path in %files from
/usr/lib/ocf/resource.d to %{_lib}/ocf/resource.d?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the publican-list mailing list