[Rpm-maint] [rpm] fixes for OS X (#57)

Peter Eisentraut notifications at github.com
Mon Feb 15 03:09:48 UTC 2016

> @@ -230,9 +230,9 @@ rpmvar_DATA =
>  install-exec-hook:
>  	@rm -f $(DESTDIR)$(bindir)/rpmquery
> -	@LN_S@ ../../bin/rpm $(DESTDIR)$(bindir)/rpmquery
> +	@LN_S@ rpm $(DESTDIR)$(bindir)/rpmquery

The prefix is in general user-configurable.  On my system, it's `/usr/local/bin/`, and so the symlink points to `/usr/bin/rpm`, which does not exist.

I now understand the reason for why this is done this way.  But perhaps this should either be a configure option or arranged as a post-installation fixup in the spec file.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160214/9262a820/attachment.html>

More information about the Rpm-maint mailing list