ppisar pushed to perl-Iterator-Simple-Lookahead (master). "Import"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Aug 25 13:51:45 UTC 2015


From 1bcf6ddc445a2de2efe1f23af7cb24a74826b8b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Tue, 25 Aug 2015 15:51:23 +0200
Subject: Import


diff --git a/.gitignore b/.gitignore
index e69de29..234d460 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Iterator-Simple-Lookahead-0.07.tar.gz
diff --git a/perl-Iterator-Simple-Lookahead.spec b/perl-Iterator-Simple-Lookahead.spec
new file mode 100644
index 0000000..4d62287
--- /dev/null
+++ b/perl-Iterator-Simple-Lookahead.spec
@@ -0,0 +1,71 @@
+Name:           perl-Iterator-Simple-Lookahead
+Version:        0.07
+Release:        1%{?dist}
+Summary:        Simple iterator with look-ahead and unget
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Iterator-Simple-Lookahead/
+Source0:        http://www.cpan.org/authors/id/P/PS/PSCUST/Iterator-Simple-Lookahead-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+BuildRequires:  sed
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::XSAccessor) >= 1.18
+BuildRequires:  perl(Iterator::Simple) >= 0.06
+BuildRequires:  perl(Iterator::Simple::Iterator)
+BuildRequires:  perl(overload)
+# Tests:
+BuildRequires:  perl(Test::More) >= 1.001014
+# Optional tests:
+BuildRequires:  perl(Pod::Coverage) >= 0.18
+# Test::CheckManifest 0.9 not used
+BuildRequires:  perl(Test::Pod) >= 1.22
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Class::XSAccessor) >= 1.18
+Requires:       perl(Iterator::Simple) >= 0.06
+
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Class::XSAccessor|Iterator::Simple)\\)$
+
+%description
+This Perl module encapsulates an iterator that allows the user to peek the Nth
+element without consuming it or to push elements back to the iterated stream.
+
+%prep
+%setup -q -n Iterator-Simple-Lookahead-%{version}
+# Correct EOLs
+for F in Changes README; do
+    sed -e 's/\r$//' < "$F" > "${F}.new"
+    touch -r "$F" "${F}.new"
+    mv "${F}.new" "$F"
+done
+
+%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
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Aug 05 2015 Petr Pisar <ppisar at redhat.com> 0.07-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..e7d9ff0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9f45018c982a060834ab5c4b8731154e  Iterator-Simple-Lookahead-0.07.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Iterator-Simple-Lookahead.git/commit/?h=master&id=1bcf6ddc445a2de2efe1f23af7cb24a74826b8b6


More information about the perl-devel mailing list