On Sun, Jan 18, 2004 at 11:12:03PM -1000, Warren Togami wrote:
Requires: perl >= 2:5.8.2
spamassassin.spec contains this, which is problematic because it must change every time perl is upgraded. The resulting SRPM needs to be modified if you rebuild it on older distributions too. Not a totally serious problem, but annoying and consumes developer time on a reoccuring basis.
You don't have to change it if perl is updated, this is giving only a minimal perl version number.
/usr/lib/perl5/5.8.0/ RHEL3 /usr/lib/perl5/5.8.1/ FC1 /usr/lib/perl5/5.8.2/ Rawhide now /usr/lib/perl5/5.8.3/ Rawhide soon according to cturner
Requires: %(perl -le 'use Config; print $Config{archlibexp}') Does this spec line fail in any cases you can think of?
Shudder. Is xchat that dependent on the current perl or is that only a savety measure to guard against future perl changes?
As Jeff Johnson is pointing out on a regular basis: automation is much better than cleanup of things that get faster out of date than you are able to get them right.