From e706d9046485932b258b63c81a5e4d0a9a284af0e94e8bca9cb96183aae80764 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 2 May 2015 09:35:36 +0000 Subject: [PATCH] Accepting request 305022 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/305022 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Filter?expand=0&rev=16 --- Filter-1.43.tar.gz | 3 -- Filter-1.54.tar.gz | 3 ++ cpanspec.yml | 23 ++++++++++++ perl-Filter.changes | 89 +++++++++++++++++++++++++++++++++++++++++++++ perl-Filter.spec | 56 ++++++++++------------------ 5 files changed, 135 insertions(+), 39 deletions(-) delete mode 100644 Filter-1.43.tar.gz create mode 100644 Filter-1.54.tar.gz create mode 100644 cpanspec.yml diff --git a/Filter-1.43.tar.gz b/Filter-1.43.tar.gz deleted file mode 100644 index 5e97676..0000000 --- a/Filter-1.43.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c455d85e6a536e589fe5bce3d067e3ce99192960684936755490e0fb28c8f290 -size 83778 diff --git a/Filter-1.54.tar.gz b/Filter-1.54.tar.gz new file mode 100644 index 0000000..7b32c08 --- /dev/null +++ b/Filter-1.54.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20bcd823c1739ccd3cb5b0170206b9804737cc2bb366a221a62f9d7810aa80d5 +size 88008 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#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 +#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-Filter.changes b/perl-Filter.changes index aa0387f..7501d82 100644 --- a/perl-Filter.changes +++ b/perl-Filter.changes @@ -1,3 +1,92 @@ +------------------------------------------------------------------- +Sat May 2 09:20:55 UTC 2015 - coolo@suse.com + +- updated to 1.54 + see /usr/share/doc/packages/perl-Filter/Changes + + + 1.44 2012-06-18 rurban + ---- + + * Sync t/call.t with core fixes in 2adbc9b6 + + 1.45 2012-06-19 rurban + ---- + + * Sync perlfilter.pod with core improvements + + 1.46 2013-03-29 rurban + ---- + + * Fix RT #84292 PIPE_PID/waitpid broken in Exec pipe_read since 5.17.6 (rurban) + + * Fix RT #84210 Bad NAME in Makefile.PL (miyagawa) + + * Fix RT #82687 cpansign MANIFEST failure (myra) + + * Work on RT #41285 test failures with non-english locale (reported by srezic) + + * Skip patching the src for newWarnings style, these are the default (rurban) + + * Fix RT #53132 examples/method/Decompress.pm syntax error (kevin ryde) + and add usage docs. + + 1.47 2013-03-31 rurban + ---- + + * Reproduced and fixed RT #41285 test failures with non-english locale + (reported by srezic) + + 1.48 2013-04-01 rurban + ---- + + * added META records, such as repository, recommends to Makefile.PL + + * added META and POD tests + + 1.49 2013-04-02 rurban + ---- + + * Better fix for RT #41285 test failures with non-english locale + (patched by srezic, pull #1) + + * Add t/z_*.t meta tests (now for real), move Try to t/FilterTry, + add POD to Filter::Util::Call, Filter::Util::Exec and generated + FilterTry. + + 1.50 2014-06-04 rurban + ---- + + * Do not re-bless already blessed filter_add arguments into the callers package. + Fixes RT #54452 + * t/z_pod-coverage.t: omit empty Filter::decrypt (also fixes RT #84405) + * Fix Perl Compiler detection in Filter::decrypt + + 1.51 2014-12-09 rurban + ---- + + * Minor -Wall -Wextra cleanups by jhi and me. Fixes RT #100742 + * Updated Copyright years + * Document and warn about its limitations + + 1.52 2014-12-19 rurban + ---- + + * Fix Filter::Util::Call regression from 1.50, for filter_add({}) or filter_add([]). + This broke Switch, see RT #101004. + + 1.53 2014-12-20 rurban + ---- + + * Re-release caused by broken SIGNATURE, caused by broken ExtUtils::Makemaker distsignature rules. + See https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/177 + + 1.54 2015-01-17 rurban + ---- + + * Fix some compiler warnings for -Wall. Some patches by Dave Mitchell. RT #101587 + Note that perl5 itself is not yet -pedantic safe, Filter is. + ------------------------------------------------------------------- Wed Feb 22 02:35:04 UTC 2012 - vcizek@suse.com diff --git a/perl-Filter.spec b/perl-Filter.spec index fe86c2d..41c4127 100644 --- a/perl-Filter.spec +++ b/perl-Filter.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Filter # -# Copyright (c) 2012 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 @@ -16,60 +16,44 @@ # - Name: perl-Filter -Version: 1.43 -Release: 2 -License: GPL-1.0+ or Artistic-1.0 -Summary: Perl Source Filter Utility Module -Url: http://search.cpan.org/dist/Filter/ +Version: 1.54 +Release: 0 +%define cpan_name Filter +Summary: Source Filters +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Source: Filter-%{version}.tar.gz -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch0: Filter-1.37.diff -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch1: Filter-1.37-Call.diff +Url: http://search.cpan.org/dist/Filter/ +Source0: http://www.cpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Recommends: perl(Filter::Simple) >= 0.88 +Recommends: perl(Filter::Simple::Compile) >= 0.02 %{perl_requires} %description -This package consists of a number of Source Filters. For more details -see the pod documentation embedded in the .pm files. - -If you intend using the Filter::Call functionality, I would strongly -recommend that you check out Damian Conway's excellent Filter::Simple -module. This module provides a much cleaner interface than -Filter::Util::Call. Although it doesn't allow the fine control that -Filter::Util::Call does, it should be adequate for the majority of -applications. +Source Filters %prep -%setup -q -n Filter-%{version} -%patch0 -%patch1 +%setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build -#rm -f perlfilter.pod -#rm -f Call/Makefile.PL -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -Wall" -make %{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} %check -make test +%{__make} test %install %perl_make_install %perl_process_packlist -find examples -name "*.bak" | xargs rm -rf %perl_gen_filelist -%clean -rm -rf %{buildroot} - %files -f %{name}.files -%defattr(-, root, root) -%doc Changes README examples +%defattr(-,root,root,755) +%doc Changes examples mytest README %changelog