Re: Non-numeric lz4 package version

2016-09-28 Thread Richard W.M. Jones
On Wed, Sep 28, 2016 at 09:05:13PM +0200, Igor Gnatenko wrote: > You do rsplit() by the '-'. Right part is R.A. you remove arch and get > release. Ah got it, because the release field can't contain a '-'. > What exactly you want to do? RPM and DNF have proper --queryformat. I don't have the RPM

Re: Non-numeric lz4 package version

2016-09-28 Thread Igor Gnatenko
You do rsplit() by the '-'. Right part is R.A. you remove arch and get release. What exactly you want to do? RPM and DNF have proper --queryformat. -Igor Gnatenko On Sep 28, 2016 8:52 PM, "Richard W.M. Jones" wrote: > > Is it permitted to have a non-numeric Version field? >

Non-numeric lz4 package version

2016-09-28 Thread Richard W.M. Jones
Is it permitted to have a non-numeric Version field? The guidelines are at best unclear on this topic: https://fedoraproject.org/wiki/Packaging:Versioning#Version_Tag The lz4 package has version "r131": http://pkgs.fedoraproject.org/cgit/rpms/lz4.git/tree/lz4.spec#n5 Corollary question: If I'm