Hello community, here is the log from the commit of package perl-Code-DRY for openSUSE:Factory checked in at 2019-04-14 12:23:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Code-DRY (Old) and /work/SRC/openSUSE:Factory/.perl-Code-DRY.new.27019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Code-DRY" Sun Apr 14 12:23:31 2019 rev:3 rq:693897 version:0.05 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Code-DRY/perl-Code-DRY.changes 2018-02-22 15:01:15.120581135 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Code-DRY.new.27019/perl-Code-DRY.changes 2019-04-14 12:23:31.943837074 +0200 @@ -1,0 +2,22 @@ +Sat Apr 13 05:03:50 UTC 2019 - Stephan Kulow <[email protected]> + +- updated to 0.05 + see /usr/share/doc/packages/perl-Code-DRY/Changes + + 0.05 + - Version 0.04 had some ugly bugs that were masked by my testing. Thanks to CPANTS testers. + - bugfixes in salcpis.c and DRY.xs + +------------------------------------------------------------------- +Thu Apr 11 05:06:01 UTC 2019 - Stephan Kulow <[email protected]> + +- updated to 0.04 + see /usr/share/doc/packages/perl-Code-DRY/Changes + + 0.04 + - Build.PL added + - documentation fixes + - increase test coverage + - exclude symbolically or hard linked files + +------------------------------------------------------------------- Old: ---- Code-DRY-0.03.tar.gz New: ---- Code-DRY-0.05.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Code-DRY.spec ++++++ --- /var/tmp/diff_new_pack.prYkKg/_old 2019-04-14 12:23:32.431837529 +0200 +++ /var/tmp/diff_new_pack.prYkKg/_new 2019-04-14 12:23:32.435837533 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Code-DRY # -# Copyright (c) 2018 SUSE LINUX 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,54 +12,48 @@ # 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-Code-DRY -Version: 0.03 +Version: 0.05 Release: 0 %define cpan_name Code-DRY Summary: Cut-and-Paste-Detector for Perl code -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Code-DRY/ -Source0: http://www.cpan.org/authors/id/H/HE/HEXCODER/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/H/HE/HEXCODER/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::CBuilder) +BuildRequires: perl(Module::Build) >= 0.190000 +BuildRequires: perl(TAP::Harness) +Requires: perl(ExtUtils::CBuilder) +Requires: perl(Module::Build) >= 0.190000 +Requires: perl(TAP::Harness) %{perl_requires} %description -The module reports repeated text fragments (typically Perl code) that -could be considered for isolation and/or abstraction in order to -reduce multiple copies of the same code (a.k.a. cut and paste code). - -Code duplicates may occur in the same line, file or directory. - -Rather than the exponential-time ad-hoc approach to compare every -item against every other item, this module can create the suffix -array and the longest common prefix array for a string of 8-bit -characters. These data structures can be used to search for -repetitions of substrings in O(n) time. The current strategy is to -concatenate code from all files into one string and then use the -suffix array and its companion, the longest-common-prefix (lcp) array -on this string. +The module's main purpose is to report repeated text fragments (typically +Perl code) that could be considered for isolation and/or abstraction in +order to reduce multiple copies of the same code (aka cut and paste code). %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Build.PL installdirs=vendor optimize="%{optflags}" +./Build build flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files ++++++ Code-DRY-0.03.tar.gz -> Code-DRY-0.05.tar.gz ++++++ ++++ 1785 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: # 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
