8
0

Compare commits

...

9 Commits

Author SHA256 Message Date
f2fd3c906c Accepting request 1155629 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1155629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Patricia?expand=0&rev=6
2024-03-07 17:27:56 +00:00
acfb1fd3e4 Accepting request 1154698 from home:pgajdos:p
- Use %autosetup macro. Allows to eliminate the usage of deprecated
  %patchN

OBS-URL: https://build.opensuse.org/request/show/1154698
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Patricia?expand=0&rev=14
2024-03-06 15:43:14 +00:00
0fa7f98feb Accepting request 1062082 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1062082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Patricia?expand=0&rev=5
2023-01-31 15:08:51 +00:00
4f4772d7b6 Accepting request 1060936 from home:kukuk:branches:devel:languages:perl
- no-libnsl.diff: don't link against libnsl if we don't use it

OBS-URL: https://build.opensuse.org/request/show/1060936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Patricia?expand=0&rev=12
2023-01-30 15:16:47 +00:00
c40d60c912 Accepting request 580243 from devel:languages:perl
- New systems requires explicit libnsl-devel for building

OBS-URL: https://build.opensuse.org/request/show/580243
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Patricia?expand=0&rev=4
2018-02-26 22:26:49 +00:00
712f5d083a OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Patricia?expand=0&rev=10 2018-02-26 13:07:10 +00:00
005a93d54f OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Patricia?expand=0&rev=9 2018-02-26 13:02:29 +00:00
7f0b984562 set proper library dir
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Patricia?expand=0&rev=8
2018-02-26 13:02:00 +00:00
Stephan Kulow
76b384e3ae Accepting request 241680 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/241680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Patricia?expand=0&rev=2
2014-07-21 08:35:46 +00:00
3 changed files with 30 additions and 7 deletions

11
no-libnsl.diff Normal file
View 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'

View File

@@ -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

View File

@@ -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}