Hello community,

here is the log from the commit of package perl-Test-PerlTidy for 
openSUSE:Factory checked in at 2017-03-16 09:43:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-PerlTidy (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-PerlTidy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-PerlTidy"

Thu Mar 16 09:43:22 2017 rev:2 rq:479651 version:20130104

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-PerlTidy/perl-Test-PerlTidy.changes    
2017-03-12 20:00:52.368306903 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-PerlTidy.new/perl-Test-PerlTidy.changes   
    2017-03-16 09:51:56.826290458 +0100
@@ -1,0 +2,10 @@
+Wed Mar 15 13:40:29 UTC 2017 - co...@suse.com
+
+- update with cpanspec
+
+-------------------------------------------------------------------
+Wed Mar 15 11:17:19 UTC 2017 - jeng...@inai.de
+
+- Replace storytelling by an actual %description.
+
+-------------------------------------------------------------------

New:
----
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Test-PerlTidy.spec ++++++
--- /var/tmp/diff_new_pack.hY6ZXw/_old  2017-03-16 09:51:57.422206066 +0100
+++ /var/tmp/diff_new_pack.hY6ZXw/_new  2017-03-16 09:51:57.422206066 +0100
@@ -16,15 +16,18 @@
 #
 
 
-%define cpan_name Test-PerlTidy
 Name:           perl-Test-PerlTidy
 Version:        20130104
 Release:        0
-Summary:        check that all your files are tidy.
+%define cpan_name Test-PerlTidy
+Summary:        Check That All Your Files Are Tidy
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Test-PerlTidy/
-Source:         
http://www.cpan.org/authors/id/L/LA/LARRYL/%{cpan_name}-%{version}.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/L/LA/LARRYL/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(File::Finder)
@@ -32,44 +35,30 @@
 BuildRequires:  perl(Perl::Tidy) >= 20121207
 BuildRequires:  perl(Text::Diff)
 BuildRequires:  perl(parent)
-#BuildRequires: perl(Test::Perl::Critic)
-#BuildRequires: perl(Test::PerlTidy)
 Requires:       perl(File::Finder)
 Requires:       perl(File::Slurp)
 Requires:       perl(Perl::Tidy) >= 20121207
 Requires:       perl(Text::Diff)
 Requires:       perl(parent)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
 %{perl_requires}
 
 %description
-This rather unflattering comment was made in a piece by Ken Arnold:
+This test submodule runs perltidy on files and reports errors if any
+of the files differ after having been tidied. It does not permanently
+modify the files being tested.
 
-    "Perl is a vast swamp of lexical and syntactic swill and nobody
-    knows how to format even their own code well, but it's the only
-    major language I can think of (with the possible exception of the
-    recent, yet very Java-like C#) that doesn't have at least one
-    style that's good enough."
-              http://www.artima.com/weblogs/viewpost.jsp?thread=74230
-
-Hmmm... He is sort of right in a way. Then again the piece he wrote was
-related to Python which is somewhat strict about formatting itself.
-
-Fear not though - now you too can have your very own formatting gestapo in
-the form of Test::PerlTidy! Simply add a test file as suggested above and
-any file ending in .pl, .pm, .t or .PL will cause a test fail unless it is
-exactly as perltidy would like it to be.
+By default, perltidy will be run on files under the current directory
+and its subdirectories with extensions matching: .pm .pl .PL .t.
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
 
 %check
-make %{?_smp_mflags} test
+%{__make} test
 
 %install
 %perl_make_install

++++++ cpanspec.yml ++++++
---
description: |-
 This test submodule runs perltidy on files and reports errors if any
 of the files differ after having been tidied. It does not permanently
 modify the files being tested.
 
 By default, perltidy will be run on files under the current directory
 and its subdirectories with extensions matching: .pm .pl .PL .t.
#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