perfsonar / unibuild

A kit for building repositories of packaged software
Apache License 2.0
1 stars 0 forks source link

Make RPM VERSION smarter #8

Closed mfeit-internet2 closed 2 years ago

mfeit-internet2 commented 2 years ago

In 36a4fee202c85fe07e2d2438c5867c6c5f5f822d, @arlake228 fixed the determination of VERSION to grab the first line of the output of RPM.

Should probably do a sort | uniq and force an error if there's more than one version. (Shouldn't be, but you can do all sorts of weird things with RPMs. We only want one.)