From 350c347443ba90eb3c7ed8587af3a6115cda9726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Tue, 9 Jun 2015 08:24:32 +0200 Subject: Import
--- .gitignore | 1 + Canary-Stability-2001-Fix-POD.patch | 31 ++++++++++++++++++++++++ perl-Canary-Stability.spec | 48 +++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 81 insertions(+) create mode 100644 Canary-Stability-2001-Fix-POD.patch create mode 100644 perl-Canary-Stability.spec diff --git a/.gitignore b/.gitignore index e69de29..662a87b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Canary-Stability-2001.tar.gz diff --git a/Canary-Stability-2001-Fix-POD.patch b/Canary-Stability-2001-Fix-POD.patch new file mode 100644 index 0000000..275c890 --- /dev/null +++ b/Canary-Stability-2001-Fix-POD.patch @@ -0,0 +1,31 @@ +From 8bfd37c3360f0e95f039619f23e822e781ea245b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> +Date: Mon, 8 Jun 2015 10:04:47 +0200 +Subject: [PATCH] Fix POD +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +<https://rt.cpan.org/Public/Bug/Display.html?id=105065> + +Signed-off-by: Petr Písař <ppi...@redhat.com> +--- + Stability.pm | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/Stability.pm b/Stability.pm +index ad7bea4..7d3b5a4 100644 +--- a/Stability.pm ++++ b/Stability.pm +@@ -18,8 +18,6 @@ ideas. + + See the F<Makefile.PL> in L<Coro> or L<AnyEvent> for usage examples. + +-=over 4 +- + =cut + + package Canary::Stability; +-- +2.1.0 + diff --git a/perl-Canary-Stability.spec b/perl-Canary-Stability.spec new file mode 100644 index 0000000..147142f --- /dev/null +++ b/perl-Canary-Stability.spec @@ -0,0 +1,48 @@ +Name: perl-Canary-Stability +Version: 2001 +Release: 1%{?dist} +Summary: Canary to check perl compatibility for Schmorp's modules +# See COPYING file. +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Canary-Stability/ +Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/Canary-Stability-%{version}.tar.gz +# FIx POD syntax, CPAN RT#105065 +Patch0: Canary-Stability-2001-Fix-POD.patch +BuildArch: noarch +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(ExtUtils::MakeMaker) + +%description +This module is used by Schmorp's modules during configuration stage to test +the installed perl for compatibility with his modules. + +%prep +%setup -q -n Canary-Stability-%{version} +%patch0 -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license COPYING +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jun 08 2015 Petr Pisar <ppi...@redhat.com> 2001-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..b281d84 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +206f6ccad737f796da89ad52a0aa69e3 Canary-Stability-2001.tar.gz -- cgit v0.11.2 http://pkgs.fedoraproject.org/cgit/perl-Canary-Stability.git/commit/?h=epel7&id=350c347443ba90eb3c7ed8587af3a6115cda9726 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel