Accepting request 296957 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/296957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-PadWalker?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2015-04-16 12:12:59 +00:00 committed by Git OBS Bridge
commit a0c7e9cc24
5 changed files with 46 additions and 31 deletions

View File

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

3
PadWalker-2.0.tar.gz Normal file
View File

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

15
cpanspec.yml Normal file
View File

@ -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

View File

@ -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 Sun Oct 27 21:09:50 UTC 2013 - rschweikert@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-PadWalker # 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 # 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
@ -17,18 +17,19 @@
Name: perl-PadWalker Name: perl-PadWalker
Version: 2.0
Release: 0
%define cpan_name PadWalker %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 License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Version: 1.98
Release: 0
Url: http://search.cpan.org/dist/PadWalker/ 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
%{perl_requires}
%description %description
PadWalker is a module which allows you to inspect (and even change!) 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 your call. Some of the modules that use PadWalker internally are certainly
safe for and useful in production. safe for and useful in production.
Authors:
--------
Robin Houston <robin@cpan.org>
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 %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check %check
@ -61,24 +55,11 @@ Authors:
%install %install
%perl_make_install %perl_make_install
### since 11.4 perl_process_packlist
### removes .packlist, perllocal.pod files
%if 0%{?suse_version} > 1130
%perl_process_packlist %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 %perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,755)
%doc Changes README %doc Changes README
%changelog %changelog