~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to perl/Makefile.subs.pl

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
            chomp($srcver);
99
99
            my $srcfloat = floatize_version($srcver);
100
100
            $perlver =~ s/pre/0./;
 
101
            # we allow for perl/CPAN-only revisions beyond the default
 
102
            # version formatting of net-snmp itself.
 
103
            $perlver =~ s/(\.\d{5}).*/\1/;
 
104
            $perlver =~ s/0*$//;
101
105
            if ($srcfloat ne $perlver) {
102
106
                if (!$foundversion) {
103
107
                    print STDERR "ERROR: