Hello community,

here is the log from the commit of package perl-Class-Multimethods for 
openSUSE:Factory checked in at 2017-10-09 19:46:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Class-Multimethods (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Class-Multimethods.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Class-Multimethods"

Mon Oct  9 19:46:42 2017 rev:21 rq:532604 version:1.701

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Class-Multimethods/perl-Class-Multimethods.changes
  2011-11-21 12:37:29.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Class-Multimethods.new/perl-Class-Multimethods.changes
     2017-10-09 19:48:37.398523411 +0200
@@ -1,0 +2,16 @@
+Sun Oct  8 19:23:38 UTC 2017 - [email protected]
+
+- regenerate spec file with cpanspec
+
+-------------------------------------------------------------------
+Sun Oct  8 06:44:08 UTC 2017 - [email protected]
+
+- update to 1.701
+  - Added handler registration code to clean up installation
+     (thanks Robert)
+
+  - Changed demo shebang lines for Debian compatibility
+     (thanks Florian and Jay)
+- obsoleting Class-Multimethods-1.70.diff
+
+-------------------------------------------------------------------

Old:
----
  Class-Multimethods-1.70.diff
  Class-Multimethods-1.70.tar.gz

New:
----
  Class-Multimethods-1.701.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Class-Multimethods.spec ++++++
--- /var/tmp/diff_new_pack.aOmFDi/_old  2017-10-09 19:48:37.890501788 +0200
+++ /var/tmp/diff_new_pack.aOmFDi/_new  2017-10-09 19:48:37.894501612 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Class-Multimethods
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -15,58 +15,47 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           perl-Class-Multimethods
-Version:        1.70
-Release:        577
-AutoReqProv:    on
-Group:          Development/Libraries/Perl
+Version:        1.701
+Release:        0
+#Upstream:  This module is free software. It may be used, redistributed and/or 
modified under the terms of the Perl Artistic License (see 
http://www.perl.com/perl/misc/Artistic.html)
+%define cpan_name Class-Multimethods
+Summary:        Support multimethods and function overloading in Perl
 License:        Artistic-1.0
-Url:            http://cpan.org/modules/by-module/Class
-Summary:        This Package Supports Multimethods and Subroutine Overloading 
in Perl.
-Source:         Class-Multimethods-%{version}.tar.gz
-Patch0:         Class-Multimethods-%{version}.diff
+Group:          Development/Libraries/Perl
+Url:            http://search.cpan.org/dist/Class-Multimethods/
+Source0:        
https://cpan.metacpan.org/authors/id/D/DC/DCONWAY/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
+BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
+%{perl_requires}
 
 %description
-Class::Multimethods -- Supports multimethods and subroutine overloading
-in Perl.
-
-
-
-Authors:
---------
-    Damian Conway <[email protected]>
+The Class:Multimethod module exports a subroutine (&multimethod) that can
+be used to declare other subroutines that are dispatched using a algorithm
+different from the normal Perl subroutine or method dispatch mechanism.
 
 %prep
-%setup -n Class-Multimethods-%{version}
-%patch0
+%setup -q -n %{cpan_name}-1.700
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
 
 %build
-perl Makefile.PL
-make %{?_smp_mflags}
-make test
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
+
+%check
+%{__make} test
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install_vendor
+%perl_make_install
 %perl_process_packlist
-chmod 644 Changes README tutorial.html 
$RPM_BUILD_ROOT%{perl_vendorlib}/Class/Multimethods.*
-chmod 644 demo/demo.ambig.pl demo/demo.analyse.pl demo/demo.global.pl 
demo/demo.multi.pl
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%perl_gen_filelist
 
-%files
-%defattr(-, root, root)
-%doc Changes README tutorial.html demo
-%doc %{_mandir}/man?/*
-%{perl_vendorlib}/Class
-%{perl_vendorarch}/auto/Class
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc Changes README tutorial.html
 
 %changelog

++++++ Class-Multimethods-1.70.tar.gz -> Class-Multimethods-1.701.tar.gz ++++++
++++ 4036 lines of diff (skipped)

++++++ cpanspec.yml ++++++
---
description_paragraphs: 1
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#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: Artistic-1.0
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to