diff --git a/srcpkgs/perl-Linux-Distribution/template b/srcpkgs/perl-Linux-Distribution/template index dc9f7341e23..4b3e6fd207d 100644 --- a/srcpkgs/perl-Linux-Distribution/template +++ b/srcpkgs/perl-Linux-Distribution/template @@ -1,7 +1,7 @@ # Template file for 'perl-Linux-Distribution' pkgname=perl-Linux-Distribution version=0.23 -revision=3 +revision=4 build_style=perl-module hostmakedepends="perl" makedepends="perl" @@ -12,3 +12,11 @@ license="Artistic-1.0-Perl, GPL-1.0-or-later" homepage="https://metacpan.org/release/Linux-Distribution" distfiles="${CPAN_SITE}/Linux/Linux-Distribution-${version}.tar.gz" checksum=603e27da607b3e872a669d7a66d75982f0969153eab2d4b20c341347b4ebda5f + +post_patch() { + vsed -i -e 's/lsb-release/os-release/' \ + lib/Linux/Distribution.pm \ + t/Linux-Distribution.t \ + t/ubuntu1404/files + mv t/ubuntu1404/lsb-release t/ubuntu1404/os-release +}