diff --git a/Text-Wrapper-1.02.tar.gz b/Text-Wrapper-1.02.tar.gz deleted file mode 100644 index 5ea2808..0000000 --- a/Text-Wrapper-1.02.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c00d5dbc5adae26bc7fa9c36ac9982ddc065d2247f3aa3acc802d2e865034a7 -size 8229 diff --git a/Text-Wrapper-1.04.tar.gz b/Text-Wrapper-1.04.tar.gz new file mode 100644 index 0000000..7a9c0cc --- /dev/null +++ b/Text-Wrapper-1.04.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:084d08e48fa37c8e75c9a724e55f7415e54ffa8ec63918ef7aec3494352d571b +size 18239 diff --git a/perl-Text-Wrapper-Makefile.patch b/perl-Text-Wrapper-Makefile.patch deleted file mode 100644 index d80981c..0000000 --- a/perl-Text-Wrapper-Makefile.patch +++ /dev/null @@ -1,49 +0,0 @@ -Index: Makefile.PL -=================================================================== ---- Makefile.PL.orig -+++ Makefile.PL -@@ -1,31 +1,13 @@ --# Note: this file was auto-generated by Module::Build::Compat version 0.03 -- -- unless (eval "use Module::Build::Compat 0.02; 1" ) { -- print "This module requires Module::Build to install itself.\n"; -- -- require ExtUtils::MakeMaker; -- my $yn = ExtUtils::MakeMaker::prompt -- (' Install Module::Build now from CPAN?', 'y'); -- -- unless ($yn =~ /^y/i) { -- die " *** Cannot install without Module::Build. Exiting ...\n"; -- } -- -- require Cwd; -- require File::Spec; -- require CPAN; -- -- # Save this 'cause CPAN will chdir all over the place. -- my $cwd = Cwd::cwd(); -- -- CPAN::Shell->install('Module::Build::Compat'); -- CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate -- or die "Couldn't install Module::Build, giving up.\n"; -- -- chdir $cwd or die "Cannot chdir() back to $cwd: $!"; -- } -- eval "use Module::Build::Compat 0.02; 1" or die $@; -- -- Module::Build::Compat->run_build_pl(args => \@ARGV); -- require Module::Build; -- Module::Build::Compat->write_makefile(build_class => 'Module::Build'); -+use 5.006; -+use ExtUtils::MakeMaker; -+# See lib/ExtUtils/MakeMaker.pm for details of how to influence -+# the contents of the Makefile that is written. -+WriteMakefile( -+ NAME => 'Text::Wrapper', -+ VERSION_FROM => 'lib/Text/Wrapper.pm', -+ PREREQ_PM => {}, -+ ($] >= 5.005 ? ## Add these new keywords supported since 5.005 -+ (ABSTRACT_FROM => 'lib/Text/Wrapper.pm', # retrieve abstract from module -+ AUTHOR => 'Christopher J. Madsen ') : ()), -+ EXE_FILES => [], -+); diff --git a/perl-Text-Wrapper.changes b/perl-Text-Wrapper.changes index 2b197e4..57e8ff1 100644 --- a/perl-Text-Wrapper.changes +++ b/perl-Text-Wrapper.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Apr 22 07:12:05 UTC 2013 - coolo@suse.com + +- updated to 1.04 + - restore compatibility with Perl 5.8.0 (RT#77386) + patch provided by Thomas Sibley + - add the wrap_after attribute + - now requires Perl 5.10.0 or later + - explicitly supports U+2000 - U+200B as breaking spaces + - now built with Dist::Zilla (includes v2 META.json) + - repository now publicly available on GitHub + ------------------------------------------------------------------- Wed Dec 1 13:35:51 UTC 2010 - coolo@novell.com diff --git a/perl-Text-Wrapper.spec b/perl-Text-Wrapper.spec index ef49493..80322da 100644 --- a/perl-Text-Wrapper.spec +++ b/perl-Text-Wrapper.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Text-Wrapper # -# Copyright (c) 2011 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 @@ -16,22 +16,19 @@ # - Name: perl-Text-Wrapper -Version: 1.02 -Release: 1 -License: GPL+ or Artistic +Version: 1.04 +Release: 0 %define cpan_name Text-Wrapper -Summary: Simple word wrapping routine -Url: http://search.cpan.org/dist/Text-Wrapper/ +Summary: Word wrap text by breaking long lines +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Text-Wrapper/ Source: http://www.cpan.org/authors/id/C/CJ/CJM/%{cpan_name}-%{version}.tar.gz -Patch0: perl-Text-Wrapper-Makefile.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.21 #BuildRequires: perl(Text::Wrapper) %{perl_requires} @@ -56,22 +53,22 @@ Again, if Text::Wrapper doesn't meet your needs, try Text::Format. %prep %setup -q -n %{cpan_name}-%{version} -%patch0 -p0 find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -./Build test +%{__make} test %install -./Build install destdir=%{buildroot} create_packlist=0 +%perl_make_install +%perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes example README +%doc Changes example LICENSE README %changelog