Accepting request 105347 from devel:languages:perl

- updated to 1.1
    - Fix test fails on < 5.8 perls
    - Fix t/13-latin1.t failures on Win32 and under TB1.5
    - Fix misleading test failure diagnostics when only issue are
      trailing whitespaces
    - No longer blindly assume utf8 on input files (RT#59877)
    - Properly document testing options
    - Fix warnings on very old perls (paul@city-fan.org)
      (Closes: RT#58442)
    - Fix warnings on very old perls (paul@city-fan.org)
      (Closes: RT#58442)

OBS-URL: https://build.opensuse.org/request/show/105347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-EOL?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2012-02-16 14:00:09 +00:00 committed by Git OBS Bridge
commit 02e0be8834
4 changed files with 30 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eccebcc01d2d17990ca52445569886b6c7dee7544bea66963088818b15f5dc23
size 14600

3
Test-EOL-1.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c5ea38c86cb91f0f10abb377ccfd455472913f06ca550766438aaf33135fe56
size 15610

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Feb 16 08:17:26 UTC 2012 - coolo@suse.com
- updated to 1.1
- Fix test fails on < 5.8 perls
- Fix t/13-latin1.t failures on Win32 and under TB1.5
- Fix misleading test failure diagnostics when only issue are
trailing whitespaces
- No longer blindly assume utf8 on input files (RT#59877)
- Properly document testing options
- Fix warnings on very old perls (paul@city-fan.org)
(Closes: RT#58442)
- Fix warnings on very old perls (paul@city-fan.org)
(Closes: RT#58442)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 18 11:07:51 UTC 2011 - coolo@suse.com Fri Nov 18 11:07:51 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Test-EOL # spec file for package perl-Test-EOL
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,33 +16,20 @@
# #
Name: perl-Test-EOL Name: perl-Test-EOL
Version: 0.9 Version: 1.1
Release: 1 Release: 0
License: GPL-1.0+ or Artistic-1.0
%define cpan_name Test-EOL %define cpan_name Test-EOL
Summary: Check the correct line endings in your project Summary: Check the correct line endings in your project
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-EOL/ Url: http://search.cpan.org/dist/Test-EOL/
#Source: http://www.cpan.org/authors/id/F/FL/FLORA/Test-EOL-%{version}.tar.gz Source: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/%{cpan_name}-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31 #BuildRequires: perl(Test::EOL)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Test::More)
#
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(vars)
Requires: perl(File::Find)
Requires: perl(File::Spec)
Requires: perl(Test::Builder)
Requires: perl(vars)
%{perl_requires} %{perl_requires}
%description %description
@ -51,9 +38,11 @@ modules, etc) for the presence of windows line endings.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
# MANUAL BEGIN
%if 0%{?sles_version} == 10 %if 0%{?sles_version} == 10
%{__perl} -p -i -e 's|6.31|6.30|' Makefile.PL %{__perl} -p -i -e 's|6.31|6.30|' Makefile.PL
%endif %endif
# MANUAL END
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
@ -67,11 +56,8 @@ modules, etc) for the presence of windows line endings.
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(644,root,root,755) %defattr(-,root,root,755)
%doc Changes dist.ini LICENSE README %doc Changes LICENSE README
%changelog %changelog