8
0

Compare commits

...

11 Commits

Author SHA256 Message Date
d9ac47890f Accepting request 1281842 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1281842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Patricia?expand=0&rev=7
2025-06-03 15:50:22 +00:00
d85839fa04 Accepting request 1281390 from devel:languages:perl:autoupdate
- Remove no-libnsl.diff, fixed upstream
  https://rt.cpan.org/Ticket/Display.html?id=124088
  Add cpanspec.yml used by cpanspec to autogenerate the spec
- updated to 1.230.0 (1.23)
   see /usr/share/doc/packages/perl-Net-Patricia/Changes

OBS-URL: https://build.opensuse.org/request/show/1281390
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Patricia?expand=0&rev=16
2025-06-02 09:23:38 +00:00
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
5 changed files with 84 additions and 30 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70835a926e1c5a8d0324c72fffee82eeb7ec6c141dee04fd446820b64f71c552
size 27780

3
Net-Patricia-1.23.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d23c44dfae73da027f02a2f52e5925b99d6f6ef4a005af6b3c65144319c7d52
size 28761

35
cpanspec.yml Normal file
View File

@@ -0,0 +1,35 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
license: BSD-2-Clause AND GPL-2.0-or-later
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

View File

@@ -1,7 +1,31 @@
-------------------------------------------------------------------
Mon May 26 19:32:01 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Remove no-libnsl.diff, fixed upstream
https://rt.cpan.org/Ticket/Display.html?id=124088
Add cpanspec.yml used by cpanspec to autogenerate the spec
-------------------------------------------------------------------
Mon Apr 28 05:47:50 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.230.0 (1.23)
see /usr/share/doc/packages/perl-Net-Patricia/Changes
-------------------------------------------------------------------
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) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,33 +12,30 @@
# 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/
#
#disable test suite as it doesn't work at all without being online
#and our build hosts are completly without network interfaces
%bcond_with test
Name: perl-Net-Patricia
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
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Net-Patricia/
Source: http://www.cpan.org/authors/id/G/GR/GRUBER/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Name: perl-Net-Patricia
Version: 1.230.0
Release: 0
# 1.23 -> normalize -> 1.230.0
%define cpan_version 1.23
#Upstream: SUSE-Public-Domain
License: BSD-2-Clause AND GPL-2.0-or-later
Summary: Patricia Trie for fast IP address lookups
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GR/GRUBER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Net::CIDR::Lite) >= 0.20
BuildRequires: perl(Net::CIDR::Lite) >= 0.200
BuildRequires: perl(Socket6)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(version)
Requires: perl(Net::CIDR::Lite) >= 0.20
Requires: perl(Net::CIDR::Lite) >= 0.200
Requires: perl(Socket6)
Requires: perl(Test::More) >= 0.88
Requires: perl(version)
%{perl_requires}
@@ -59,16 +56,14 @@ 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 -n %{cpan_name}-%{cpan_version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" LIBS="%{_libdir}"
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%if %{with test}
%check
%{__make} test
%endif
make test
%install
%perl_make_install
@@ -76,7 +71,7 @@ Table for Berkeley Unix'' by Keith Sklower.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes COPYING MYMETA.json MYMETA.yml README
%doc Changes README
%license COPYING
%changelog