--- /dev/null
+--- Net-Patricia-1.22/Makefile.PL.orig 2012-10-09 16:36:34.000000000 +0200
++++ Net-Patricia-1.22/Makefile.PL 2020-08-30 18:56:13.305613689 +0200
+@@ -5,7 +5,6 @@
+ WriteMakefile(
+ 'NAME' => 'Net::Patricia',
+ 'VERSION_FROM' => 'Patricia.pm', # finds $VERSION
+- 'LIBS' => ['-lnsl'], # e.g., '-lm'
+ 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
+ 'INC' => '', # e.g., '-I/usr/include/other'
+ 'MYEXTLIB' => 'libpatricia/libpatricia$(LIB_EXT)', # e.g., '-I/usr/include/other'
Summary(pl.UTF-8): Net::Patricia - moduł Perla Patricia Trie do szybkiego wyszukiwania adresów IP
Name: perl-Net-Patricia
Version: 1.22
-Release: 9
+Release: 10
License: GPL v2+
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: ef838f7512b050ca4b35d742f9565b3b
+Patch0: %{name}-link.patch
URL: https://metacpan.org/release/Net-Patricia
-BuildRequires: perl-Net-CIDR-Lite
+BuildRequires: perl-Net-CIDR-Lite >= 0.20
BuildRequires: perl-Socket6
BuildRequires: perl-devel >= 1:5.8.0
+%if %{with tests}
+BuildRequires: perl-Test-Simple >= 0.88
+%endif
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.745
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \