From 73dd88631646623fc7d4517c484ea45bcd4c76fabf6d7a3a9281a4b12f9fe1b1 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 9 Mar 2016 06:33:13 +0000 Subject: [PATCH] Accepting request 368319 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/368319 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Parser?expand=0&rev=3 --- Pod-Parser-1.60.tar.gz | 3 --- Pod-Parser-1.63.tar.gz | 3 +++ cpanspec.yml | 28 ++++++++++++++++++++++++++++ perl-Pod-Parser.changes | 6 ++++++ perl-Pod-Parser.spec | 38 ++++++++++++++------------------------ 5 files changed, 51 insertions(+), 27 deletions(-) delete mode 100644 Pod-Parser-1.60.tar.gz create mode 100644 Pod-Parser-1.63.tar.gz create mode 100644 cpanspec.yml diff --git a/Pod-Parser-1.60.tar.gz b/Pod-Parser-1.60.tar.gz deleted file mode 100644 index e78eebe..0000000 --- a/Pod-Parser-1.60.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:90a491f1dd51ff5aef6a237c6e4d562d14ea2535d413103b5a4d336c7d7b3924 -size 79381 diff --git a/Pod-Parser-1.63.tar.gz b/Pod-Parser-1.63.tar.gz new file mode 100644 index 0000000..660c10f --- /dev/null +++ b/Pod-Parser-1.63.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbe0b56129975b2f83a02841e8e0ed47be80f060686c66ea37e529d97aa70ccd +size 79707 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#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 +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Pod-Parser.changes b/perl-Pod-Parser.changes index 424e18b..a6f45c4 100644 --- a/perl-Pod-Parser.changes +++ b/perl-Pod-Parser.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 8 10:51:44 UTC 2016 - coolo@suse.com + +- updated to 1.63 + see /usr/share/doc/packages/perl-Pod-Parser/CHANGES + ------------------------------------------------------------------- Wed May 8 11:45:09 UTC 2013 - lars@linux-schulserver.de diff --git a/perl-Pod-Parser.spec b/perl-Pod-Parser.spec index 1f282dc..a794810 100644 --- a/perl-Pod-Parser.spec +++ b/perl-Pod-Parser.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Pod-Parser # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,25 +17,26 @@ Name: perl-Pod-Parser -Version: 1.60 +Version: 1.63 Release: 0 -%define cpan_name Pod-Parser -Summary: Base class for creating POD filters and translators +%define cpan_name Pod-Parser +Summary: Base Class for Creating Pod Filters and Translators License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Pod-Parser/ -Source: %{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/M/MA/MAREKR/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Cwd) -BuildRequires: perl(File::Basename) -Requires: perl(Cwd) -Requires: perl(File::Basename) -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %{perl_requires} %description +*NOTE: This module is considered legacy; modern Perl releases (5.18 and +higher) are going to remove Pod-Parser from core and use Pod-Simple for all +things POD.* + *Pod::Parser* is a base class for creating POD filters and translators. It handles most of the effort involved with parsing the POD sections from an input stream, leaving subclasses free to be concerned only with performing @@ -47,8 +48,7 @@ to translate the POD into whatever output format they desire. %prep %setup -q -n %{cpan_name}-%{version} -sed -i "s|/usr/local/bin/perl|%{_bindir}/perl|g" scripts/* -sed -i "s| ||g" ANNOUNCE CHANGES README TODO +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -59,21 +59,11 @@ sed -i "s| ||g" ANNOUNCE CHANGES README TODO %install %perl_make_install -pushd %{buildroot}%{_bindir} >/dev/null -ADDVERSION=$(echo %{version} | sed -e "s@\.@_@g") -for file in *; do - mv $file ${file}-${ADDVERSION} -done -popd >/dev/null %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) +%defattr(-,root,root,755) %doc ANNOUNCE CHANGES README TODO -%attr (755,root,root) %{_bindir}/* %changelog