Compare commits

...

No commits in common. "c8-stream-5.3" and "c8s" have entirely different histories.

6 changed files with 10 additions and 83 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/Filter-Simple-0.94.tar.gz
/Filter-Simple-0.91.tar.gz
/Filter-Simple-0.94.tar.gz

View File

@ -1 +0,0 @@
3a014fa2187ff4ec5cc626126dfb0cea92b0fbb2 SOURCES/Filter-Simple-0.94.tar.gz

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* Util");

View File

@ -1,54 +0,0 @@
From 593fb3d6c0fcff266729d1d497d931e7e3ad9a83 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik@redhat.com>
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

View File

@ -1,14 +1,11 @@
%global base_version 0.94
Name: perl-Filter-Simple
Version: 0.95
Release: 439%{?dist}
Version: 0.94
Release: 2%{?dist}
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/Filter-Simple-%{base_version}.tar.gz
URL: http://search.cpan.org/dist/Filter-Simple/
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Filter-Simple-%{version}.tar.gz
BuildArch: noarch
# Unbundled from perl 5.28.0-RC1
Patch0: Filter-Simple-0.94-Upgrade-to-0.95.patch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
@ -35,8 +32,7 @@ The Filter::Simple Perl module provides a simplified interface to
Filter::Util::Call; one that is sufficient for most common cases.
%prep
%setup -q -n Filter-Simple-%{base_version}
%patch0 -p1
%setup -q -n Filter-Simple-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@ -55,24 +51,6 @@ make test
%{_mandir}/man3/*
%changelog
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.95-438
- Increase release to favour standalone package
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.95-417
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.95-416
- Increase release to favour standalone package
* Thu May 24 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.95-1
- Upgrade to 0.95 as provided in perl-5.28.0-RC1
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.94-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (Filter-Simple-0.94.tar.gz) = 489d13fed4f27055254c88e4ee929e1f766e3a17197c89c4267eaab3e07ab9a127e8e292267fb6a029f26878425eb756879555e0fe4d0ced02cb114830f392c8