[packages/perl-Net-Interface] - fix building with perl 5.26 - rel 9

baggins baggins at pld-linux.org
Thu Jun 22 08:50:59 CEST 2017


commit 2b6a65cf312f27d90201994b82a15c5d6e1da2e5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jun 22 08:50:37 2017 +0200

    - fix building with perl 5.26
    - rel 9

 no-dot-in-inc.patch     | 11 +++++++++++
 perl-Net-Interface.spec |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/perl-Net-Interface.spec b/perl-Net-Interface.spec
index 35d8560..02c5d0a 100644
--- a/perl-Net-Interface.spec
+++ b/perl-Net-Interface.spec
@@ -9,12 +9,13 @@ Summary:	Net::Interface - Perl extension to access network interfaces
 Summary(pl.UTF-8):	Net::Interface - moduł umożliwiający dostęp do interfejsów sieciowych
 Name:		perl-Net-Interface
 Version:	1.012
-Release:	8
+Release:	9
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	cfa0c390c506996c004fb5b214fc4a7c
+Patch0:		no-dot-in-inc.patch
 URL:		http://search.cpan.org/dist/Net-Interface/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
@@ -35,6 +36,7 @@ operacyjny na to pozwala).
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/no-dot-in-inc.patch b/no-dot-in-inc.patch
new file mode 100644
index 0000000..111fea6
--- /dev/null
+++ b/no-dot-in-inc.patch
@@ -0,0 +1,11 @@
+--- Net-Interface-1.012/Makefile.PL~	2009-03-08 21:18:20.000000000 +0100
++++ Net-Interface-1.012/Makefile.PL	2017-06-22 08:49:41.884351526 +0200
+@@ -148,7 +148,7 @@
+ close F;
+ 
+ ################ build family definitions
+-do 'inst/netsymbols.pl';
++do './inst/netsymbols.pl';
+ ## END ######### build family definitions
+ 
+ sub MY::top_targets {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-Interface.git/commitdiff/2b6a65cf312f27d90201994b82a15c5d6e1da2e5



More information about the pld-cvs-commit mailing list