From c3fc610f70dc360b4a78b399cda8c23db9f3c2cb Mon Sep 17 00:00:00 2001 From: openeuler-basic Date: Sun, 12 Jan 2020 16:36:53 +0800 Subject: [PATCH] remove unnecessary files --- Filter-Simple-0.94-Upgrade-to-0.95.patch | 54 ------------------------ perl-Filter-Simple.spec | 12 ++++-- 2 files changed, 9 insertions(+), 57 deletions(-) delete mode 100644 Filter-Simple-0.94-Upgrade-to-0.95.patch diff --git a/Filter-Simple-0.94-Upgrade-to-0.95.patch b/Filter-Simple-0.94-Upgrade-to-0.95.patch deleted file mode 100644 index eac02ea..0000000 --- a/Filter-Simple-0.94-Upgrade-to-0.95.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 593fb3d6c0fcff266729d1d497d931e7e3ad9a83 Mon Sep 17 00:00:00 2001 -From: Jitka Plesnikova -Date: Thu, 24 May 2018 10:20:55 +0200 -Subject: [PATCH] Upgrade to 0.95 - ---- - lib/Filter/Simple.pm | 6 ++---- - t/no.t | 13 +++++++++++++ - 2 files changed, 15 insertions(+), 4 deletions(-) - create mode 100644 t/no.t - -diff --git a/lib/Filter/Simple.pm b/lib/Filter/Simple.pm -index 082fe95..1dcf3c8 100644 ---- a/lib/Filter/Simple.pm -+++ b/lib/Filter/Simple.pm -@@ -2,14 +2,12 @@ package Filter::Simple; - - use Text::Balanced ':ALL'; - --use vars qw{ $VERSION @EXPORT }; -- --$VERSION = '0.94'; -+our $VERSION = '0.95'; - - use Filter::Util::Call; - use Carp; - --@EXPORT = qw( FILTER FILTER_ONLY ); -+our @EXPORT = qw( FILTER FILTER_ONLY ); - - - sub import { -diff --git a/t/no.t b/t/no.t -new file mode 100644 -index 0000000..8980eae ---- /dev/null -+++ b/t/no.t -@@ -0,0 +1,13 @@ -+BEGIN { -+ unshift @INC, 't/lib/'; -+} -+ -+print "1..2\n"; -+ -+use Filter::Simple::FilterTest qr/ok/ => "not ok", pass => "fail"; -+no Filter::Simple::FilterTest; -+ -+sub pass { print "ok ", $_[0], "\n" } -+ -+print "ok 1\n"; -+("pa"."ss")->(2); --- -2.14.3 - diff --git a/perl-Filter-Simple.spec b/perl-Filter-Simple.spec index 00c4e63..e1397a5 100644 --- a/perl-Filter-Simple.spec +++ b/perl-Filter-Simple.spec @@ -1,13 +1,13 @@ %global src_package Filter-Simple-0.94 Name: perl-Filter-Simple -Version: 0.95 -Release: 418 +Epoch: 1 +Version: 0.94 +Release: 1 Summary: Simplified Perl source filtering License: GPL+ or Artistic URL: https://metacpan.org/release/Filter-Simple Source0: https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/%{src_package}.tar.gz BuildArch: noarch -Patch0: Filter-Simple-0.94-Upgrade-to-0.95.patch BuildRequires: make perl-generators perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 @@ -54,5 +54,11 @@ make test %{_mandir}/man3/* %changelog +* Sat Jan 11 2020 openEuler Buildteam - 1:0.94-1 +- Type: enhancement +- ID: NA +- SUG: NA +- DESC: remove unnecessary files + * Mon Sep 16 2019 openEuler Buildteam - 0.95-418 - Package init