Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Net-Patricia for openSUSE:Factory checked in at 2023-01-31 16:08:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-Patricia (Old)
and /work/SRC/openSUSE:Factory/.perl-Net-Patricia.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Net-Patricia"
Tue Jan 31 16:08:51 2023 rev:5 rq:1062082 version:1.22
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Net-Patricia/perl-Net-Patricia.changes 2018-02-26 23:26:49.222733883 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Net-Patricia.new.32243/perl-Net-Patricia.changes 2023-01-31 16:16:52.756422903 +0100
@@ -1,0 +2,5 @@
+Wed Jan 25 13:48:49 UTC 2023 - Thorsten Kukuk
+
+- no-libnsl.diff: don't link against libnsl if we don't use it
+
+-------------------------------------------------------------------
New:
----
no-libnsl.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Net-Patricia.spec ++++++
--- /var/tmp/diff_new_pack.bSX4N9/_old 2023-01-31 16:16:53.168425290 +0100
+++ /var/tmp/diff_new_pack.bSX4N9/_new 2023-01-31 16:16:53.172425313 +0100
@@ -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 @@
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
@@ -40,9 +41,6 @@
Requires: perl(Socket6)
Requires: perl(Test::More) >= 0.88
Requires: perl(version)
-%if 0%{?suse_version} > 1350
-BuildRequires: libnsl-devel
-%endif
%{perl_requires}
%description
@@ -63,6 +61,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+%patch1 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
++++++ no-libnsl.diff ++++++
--- 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'