diff --git a/PadWalker-1.98.tar.gz b/PadWalker-1.98.tar.gz deleted file mode 100644 index 6a92ae8..0000000 --- a/PadWalker-1.98.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80af38103ae59aff537ba9102898bb939ec191e537ddc04170d4715556a3576c -size 15845 diff --git a/PadWalker-2.0.tar.gz b/PadWalker-2.0.tar.gz new file mode 100644 index 0000000..552d12f --- /dev/null +++ b/PadWalker-2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04f1cc8eda958f97735abef86b980db8d58875724d8bcd701efd9a3c333a1415 +size 15689 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..00577d4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,15 @@ +--- +description_paragraphs: 3 +#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 +#license: SUSE-NonFree diff --git a/perl-PadWalker.changes b/perl-PadWalker.changes index c1249b6..309e51e 100644 --- a/perl-PadWalker.changes +++ b/perl-PadWalker.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed Apr 15 14:49:21 UTC 2015 - coolo@suse.com + +- updated to 2.0 + see /usr/share/doc/packages/perl-PadWalker/Changes + + + 1.99 Tue 11 Nov 2014 15:01:37 CET + - Make it compatible with bleadperl. + Patch from Father Chrysostomous at https://rt.cpan.org/Public/Bug/Display.html?id=100262 + + 1.99_1 Tue 11 Nov 2014 19:38:17 CET + - Restore compatibility with perl 5.8 + Patch from paul@city-fan.org at https://rt.cpan.org/Public/Bug/Display.html?id=100262#txn-1431869 + + 2.0 Mon 8 Dec 2014 13:45:37 GMT + - Restore compatibility with bleadperl + Patch from Dagfinn Ilmari Mannsåker at https://github.com/robinhouston/PadWalker/pull/3 + ------------------------------------------------------------------- Sun Oct 27 21:09:50 UTC 2013 - rschweikert@suse.com diff --git a/perl-PadWalker.spec b/perl-PadWalker.spec index 43bed0f..30e4887 100644 --- a/perl-PadWalker.spec +++ b/perl-PadWalker.spec @@ -1,7 +1,7 @@ # # spec file for package perl-PadWalker # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,18 +17,19 @@ Name: perl-PadWalker +Version: 2.0 +Release: 0 %define cpan_name PadWalker -Summary: Play with other peoples' lexical variables +Summary: Play with Other Peoples' Lexical Variables License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl -Version: 1.98 -Release: 0 Url: http://search.cpan.org/dist/PadWalker/ -Source: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +%{perl_requires} %description PadWalker is a module which allows you to inspect (and even change!) @@ -42,18 +43,11 @@ I wouldn't recommend using PadWalker directly in production code, but it's your call. Some of the modules that use PadWalker internally are certainly safe for and useful in production. -Authors: --------- - Robin Houston - With contributions from Richard Soberberg, Jesse Luehrs and Yuval Kogman, - bug-spotting from Peter Scott, Dave Mitchell and Goro Fuji, and suggestions - from demerphq. - %prep %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check @@ -61,24 +55,11 @@ Authors: %install %perl_make_install -### since 11.4 perl_process_packlist -### removes .packlist, perllocal.pod files -%if 0%{?suse_version} > 1130 %perl_process_packlist -%else -# do not perl_process_packlist -# remove .packlist file -%{__rm} -f $RPM_BUILD_ROOT%perl_vendorarch/auto/PadWalker/.packlist -# remove perllocal.pod file -%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod -%endif %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc Changes README %changelog