forked from pool/perl-Net-Patricia
Compare commits
9 Commits
58da6c5ae1
...
leap-16.0
Author | SHA256 | Date | |
---|---|---|---|
f2fd3c906c | |||
acfb1fd3e4 | |||
0fa7f98feb | |||
4f4772d7b6 | |||
c40d60c912 | |||
712f5d083a | |||
005a93d54f | |||
7f0b984562 | |||
|
76b384e3ae |
11
no-libnsl.diff
Normal file
11
no-libnsl.diff
Normal file
@@ -0,0 +1,11 @@
|
||||
--- Net-Patricia-1.22/Makefile.PL.old 2012-10-09 16:36:34.000000000 +0200
|
||||
+++ Net-Patricia-1.22/Makefile.PL 2023-01-25 14:46:59.182810260 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
WriteMakefile(
|
||||
'NAME' => 'Net::Patricia',
|
||||
'VERSION_FROM' => 'Patricia.pm', # finds $VERSION
|
||||
- 'LIBS' => ['-lnsl'], # e.g., '-lm'
|
||||
+ 'LIBS' => [''], # 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'
|
@@ -1,7 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 13:46:11 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||
%patchN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 13:48:49 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- no-libnsl.diff: don't link against libnsl if we don't use it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 12:44:51 UTC 2018 - opensuse@dstoecker.de
|
||||
|
||||
- set proper library dir
|
||||
- New systems requires explicit libnsl-devel for building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 20 07:45:54 UTC 2014 - coolo@suse.com
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Net-Patricia
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -25,10 +25,11 @@ Version: 1.22
|
||||
Release: 0
|
||||
%define cpan_name Net-Patricia
|
||||
Summary: Patricia Trie perl module for fast IP address lookups
|
||||
License: GPL-2.0+ and BSD-2-Clause
|
||||
License: BSD-2-Clause AND GPL-2.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Net-Patricia/
|
||||
URL: http://search.cpan.org/dist/Net-Patricia/
|
||||
Source: http://www.cpan.org/authors/id/G/GR/GRUBER/%{cpan_name}-%{version}.tar.gz
|
||||
Patch1: no-libnsl.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
@@ -59,10 +60,10 @@ The BSD radix code is thoroughly described in "TCP/IP Illustrated, Volume
|
||||
Table for Berkeley Unix'' by Keith Sklower.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -p1 -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" LIBS="%{_libdir}"
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%if %{with test}
|
||||
|
Reference in New Issue
Block a user