From 334ac0153775dbc9e1579da1eb4b9ed5c7c7228833f761588ad358b498b21906 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 4 Jun 2013 17:20:41 +0000 Subject: [PATCH] - updated to 1.5 - Change to default to searching for trailing whitespace from the current directory downwards (as tests are run from the top of a dist normally), rather than one directory above the test file, as then we don't work as expected if tests are in t/author or similar. - Fix to ignore inc/ directory used by Module::Install. - Fix bad regex matching directories containing 'svn', not just .svn' directories. RT#75968 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-EOL?expand=0&rev=12 --- Test-EOL-1.1.tar.gz | 3 --- Test-EOL-1.5.tar.gz | 3 +++ perl-Test-EOL.changes | 14 ++++++++++++++ perl-Test-EOL.spec | 17 +++++++++-------- 4 files changed, 26 insertions(+), 11 deletions(-) delete mode 100644 Test-EOL-1.1.tar.gz create mode 100644 Test-EOL-1.5.tar.gz diff --git a/Test-EOL-1.1.tar.gz b/Test-EOL-1.1.tar.gz deleted file mode 100644 index 263f326..0000000 --- a/Test-EOL-1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c5ea38c86cb91f0f10abb377ccfd455472913f06ca550766438aaf33135fe56 -size 15610 diff --git a/Test-EOL-1.5.tar.gz b/Test-EOL-1.5.tar.gz new file mode 100644 index 0000000..00c8e47 --- /dev/null +++ b/Test-EOL-1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:431b289f0959f7ace0ee95fe401b0d05c93dee5d6dce0aedabbf0b53c2b1cd61 +size 29150 diff --git a/perl-Test-EOL.changes b/perl-Test-EOL.changes index 29e7586..c221c38 100644 --- a/perl-Test-EOL.changes +++ b/perl-Test-EOL.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Jun 4 17:20:10 UTC 2013 - coolo@suse.com + +- updated to 1.5 + - Change to default to searching for trailing whitespace from the + current directory downwards (as tests are run from the top of a dist + normally), rather than one directory above the test file, as then + we don't work as expected if tests are in t/author or similar. + + - Fix to ignore inc/ directory used by Module::Install. + + - Fix bad regex matching directories containing 'svn', not just .svn' + directories. RT#75968 + ------------------------------------------------------------------- Thu Feb 16 08:17:26 UTC 2012 - coolo@suse.com diff --git a/perl-Test-EOL.spec b/perl-Test-EOL.spec index 9926e3b..7f12b31 100644 --- a/perl-Test-EOL.spec +++ b/perl-Test-EOL.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-EOL # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,19 +17,25 @@ Name: perl-Test-EOL -Version: 1.1 +Version: 1.5 Release: 0 %define cpan_name Test-EOL Summary: Check the correct line endings in your project License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-EOL/ -Source: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/%{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +#BuildRequires: perl(JSON) +#BuildRequires: perl(LWP::Simple) +#BuildRequires: perl(Module::Build) +#BuildRequires: perl(Module::Install::Base) +#BuildRequires: perl(Parse::CPAN::Meta) #BuildRequires: perl(Test::EOL) +#BuildRequires: perl(YAML::Tiny) %{perl_requires} %description @@ -38,11 +44,6 @@ modules, etc) for the presence of windows line endings. %prep %setup -q -n %{cpan_name}-%{version} -# MANUAL BEGIN -%if 0%{?sles_version} == 10 -%{__perl} -p -i -e 's|6.31|6.30|' Makefile.PL -%endif -# MANUAL END %build %{__perl} Makefile.PL INSTALLDIRS=vendor