On Sun, Aug 06, 2017 at 10:24:21PM -0400, Ben Rosser wrote:
On Sun, Aug 6, 2017 at 10:03 PM, Matthew Miller
<mattdm(a)fedoraproject.org> wrote:
> Does this package exist in other distros? Doing what they do is usually
> a good choice. Most ideally, you convince the upstream to switch to a
> compatible name.
Apparently, the way this is done in Debian [1] is that the program is
installed as /usr/bin/prename and provided as an alternative to the
util-linux version of /usr/bin/rename via the alternatives system.
(After learning that I was able to find the Fedora copr by searching
for "Fedora prename").
However our packaging guidelines say alternatives binaries should be
given a suffix [2]. So maybe a reasonable thing to do is:
* call the package "prename" for cross-distro compatibility.
* install the binary as "rename.pl" or something but provide
/usr/bin/prename via symlink.
* propose (I'm not sure if this is a big enough change to need the
change process, but it should be discussed) making rename into an
alternative.
Nah, please don't do that. This rename and that rename have different
option syntax, so they are not interchangeable. We're better off just
having a different name.
Zbyszek