Hello community,

here is the log from the commit of package perl-Net-IP for openSUSE:Factory 
checked in at 2019-11-26 16:52:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-IP (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Net-IP.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Net-IP"

Tue Nov 26 16:52:45 2019 rev:24 rq:748273 version:1.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Net-IP/perl-Net-IP.changes  2015-09-24 
07:17:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Net-IP.new.26869/perl-Net-IP.changes       
2019-11-26 16:53:09.636232030 +0100
@@ -1,0 +2,13 @@
+Wed Nov 13 10:28:31 UTC 2019 - Pedro Monreal Gonzalez 
<[email protected]>
+
+- Update spec file:
+  * Use https and metacpan.org in URL and source
+  * Move COPYING to the license tag
+  * Update summary and description sections
+
+-------------------------------------------------------------------
+Mon Nov 11 12:29:06 UTC 2019 - Arjen de Korte <[email protected]>
+
+- Change architecture to 'noarch'
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Net-IP.spec ++++++
--- /var/tmp/diff_new_pack.xZQ31j/_old  2019-11-26 16:53:11.644231304 +0100
+++ /var/tmp/diff_new_pack.xZQ31j/_new  2019-11-26 16:53:11.644231304 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Net-IP
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,18 +12,19 @@
 # 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/
 #
 
 
 Name:           perl-Net-IP
 Version:        1.26
 Release:        0
-Summary:        Allows easy manipulation of IPv4 and IPv6 addresses
-License:        Artistic-1.0
+%define cpan_name Net-IP
+Summary:        Perl extension for manipulating IPv4/IPv6 addresses
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://cpan.org/modules/by-module/Net/
-Source:         
http://search.cpan.org/CPAN/authors/id/M/MA/MANU/Net-IP-%{version}.tar.gz
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/M/MA/MANU/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 Patch0:         %{name}-1.25-zero_address.diff
 Patch1:         ipcount-invalid_chars_in_IP.patch
@@ -31,37 +32,36 @@
 BuildRequires:  perl-macros
 Provides:       perl_Net-IP = %{version}
 Obsoletes:      perl_Net-IP < %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildArch:      noarch
 %{perl_requires}
 
 %description
-This is the Net::IP module, designed to allow easy manipulation of IPv4
-and IPv6 addresses.
+This module provides functions to deal with *IPv4/IPv6* addresses. The
+module can be used as a class, allowing the user to instantiate IP objects,
+which can be single IP addresses, prefixes, or ranges of addresses. There
+is also a procedural way of accessing most of the functions. Most
+subroutines can take either *IPv4* or *IPv6* addresses transparently.
 
 %prep
-%setup -q -n Net-IP-%{version}
+%setup -q -n %{cpan_name}-%{version}
 %patch0
 %patch1 -p1
 
 %build
-perl Makefile.PL
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %check
 make %{?_smp_mflags} test
 
 %install
-make DESTDIR=%{buildroot} install_vendor
+%perl_make_install
 %perl_process_packlist
+%perl_gen_filelist
 
-%files
-%defattr(-,root,root)
+%files -f %{name}.files
+%defattr(-,root,root,755)
 %doc Changes MANIFEST README
-%{_bindir}/*
-%{_mandir}/man3/*
-%dir %{perl_vendorlib}/Net
-%{perl_vendorlib}/Net/IP.pm
-%dir %{perl_vendorarch}/auto/Net
-%{perl_vendorarch}/auto/Net/IP
+%license COPYING
 
 %changelog


Reply via email to