Hello community,

here is the log from the commit of package perl-Data-Page for openSUSE:Factory 
checked in at 2019-05-13 14:52:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Data-Page (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Data-Page.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Data-Page"

Mon May 13 14:52:03 2019 rev:6 rq:702486 version:2.03

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Data-Page/perl-Data-Page.changes    
2012-01-17 16:13:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Data-Page.new.5148/perl-Data-Page.changes  
2019-05-13 14:52:05.351022865 +0200
@@ -1,0 +2,6 @@
+Sat May 11 05:07:39 UTC 2019 - Stephan Kulow <co...@suse.com>
+
+- updated to 2.03
+   see /usr/share/doc/packages/perl-Data-Page/Changes
+
+-------------------------------------------------------------------

Old:
----
  Data-Page-2.02.tar.gz

New:
----
  Data-Page-2.03.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Data-Page.spec ++++++
--- /var/tmp/diff_new_pack.g7Gfu6/_old  2019-05-13 14:52:06.223025060 +0200
+++ /var/tmp/diff_new_pack.g7Gfu6/_new  2019-05-13 14:52:06.223025060 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Data-Page
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,28 @@
 # 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-Data-Page
+Version:        2.03
+Release:        0
 %define cpan_name Data-Page
 Summary:        Help when paging through sets of results
-License:        GPL-1.0+ or Artistic-1.0
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Version:        2.02
-Release:        0
-Url:            http://search.cpan.org/dist/Data-Page/
-Source:         
http://www.cpan.org/modules/by-module/Data/Data-Page-%{version}.tar.gz
+Url:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Class::Accessor::Chained::Fast)
-BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Test::Exception)
-BuildRequires:  perl(Test::More)
 Requires:       perl(Class::Accessor::Chained::Fast)
-Requires:       perl(Test::Exception)
+%{perl_requires}
 
 %description
 When searching through large amounts of data, it is often the case that a
@@ -42,30 +41,34 @@
 This results in wanting to page through various pages of data. The maths
 behind this is unfortunately fiddly, hence this module.
 
-The main concept is that you pass in the number of total entries, the number
-of entries per page, and the current page number. You can then call methods
-to find out how many pages of information there are, and what number the
-first and last entries on the current page really are.
+The main concept is that you pass in the number of total entries, the
+number of entries per page, and the current page number. You can then call
+methods to find out how many pages of information there are, and what
+number the first and last entries on the current page really are.
+
+For example, say we wished to page through the integers from 1 to 100 with
+20 entries per page. The first page would consist of 1-20, the second page
+from 21-40, the third page from 41-60, the fourth page from 61-80 and the
+fifth page from 81-100. This module would help you work this out.
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build build flags=%{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %check
-./Build test
+make test
 
 %install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+%perl_make_install
+%perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.files
-%defattr(-,root,root,-)
-%doc CHANGES README
+%defattr(-,root,root,755)
+%doc Changes CONTRIBUTING README
+%license LICENCE
 
 %changelog

++++++ Data-Page-2.02.tar.gz -> Data-Page-2.03.tar.gz ++++++
++++ 3646 lines of diff (skipped)

++++++ cpanspec.yml ++++++
---
#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:
#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: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to