Re: [Rpm-maint] [rpm] Fix symlinks for installations outside /usr/bin (#60)

2016-02-19 Thread Peter Eisentraut
@Conan-Kudo The current implementation uses relative symlinks. The Fedora packaging guidelines don't have a strong opinion on what kind of symlink should be used, but I was trying to preserve the existing kind. (Debian policy would call for a relative symlink here, FWIW.) --- Reply to this

Re: [Rpm-maint] [rpm] Fix symlinks for installations outside /usr/bin (#60)

2016-02-19 Thread Peter Eisentraut
@ffesti That would certainly make things simpler. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/60#issuecomment-186496903___ Rpm-maint mailing list Rpm-maint@lists.rpm.org

[Rpm-maint] [rpm] Fix symlinks for installations outside /usr/bin (#60)

2016-02-15 Thread Peter Eisentraut
rpmquery and rpmverify are symlinks to rpm. The former are usually installed in /usr/bin, the latter in /bin, so the symlink points to ../../bin/rpm. But for installations into other prefixes, the synlimk should just point to the same directory. You can view, comment on, or merge this pull

[Rpm-maint] [rpm] Additional fixes for getprogname()/setprogname() on BSD systems (#58)

2016-02-14 Thread Peter Eisentraut
Fix some things that were missed in 61109446ac67ca8f3d96a5592814561db908d83c, and add OS X support for that change. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/58 -- Commit Summary -- * Additional fixes for

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

2016-02-14 Thread Peter Eisentraut
> @@ -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/`,

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

2016-02-04 Thread Peter Eisentraut
Here is a set of patches to make rpm build cleanly on OS X. Patches 1, 2, 3 should be pretty straightforward and safe. Patch 4 looks like an outright bug. Maybe it works on other platforms because the rpm packaging of rpm fixes it up somehow. Patch 5 is more a hack to get it working, not