[perl-Devel-Autoflush] Import

Petr Pisar ppisar at fedoraproject.org
Fri Apr 13 13:07:14 UTC 2012


commit c69c93221892c72528d6edb11b4690aa8c18cd4b
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Apr 13 15:06:50 2012 +0200

    Import

 .gitignore                |    1 +
 perl-Devel-Autoflush.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..deb9c1a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Devel-Autoflush-0.05.tar.gz
diff --git a/perl-Devel-Autoflush.spec b/perl-Devel-Autoflush.spec
new file mode 100644
index 0000000..762f930
--- /dev/null
+++ b/perl-Devel-Autoflush.spec
@@ -0,0 +1,47 @@
+Name:           perl-Devel-Autoflush
+Version:        0.05
+Release:        1%{?dist}
+Summary:        Set autoflush from the command line
+License:        ASL 2.0
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Devel-Autoflush/
+Source0:        http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Devel-Autoflush-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Module::Build)
+# Tests
+BuildRequires:  perl(IO::CaptureOutput) >= 1.08
+BuildRequires:  perl(Test::More) >= 0.62
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# Filter bogus dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(strict\\)
+
+%description
+This module is a hack to set autoflush for STDOUT and STDERR from the
+command line or from PERL5OPT for code that needs it but doesn't have it.
+
+%prep
+%setup -q -n Devel-Autoflush-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes LICENSE README Todo
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Apr 04 2012 Petr Pisar <ppisar at redhat.com> 0.05-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..f18abfe 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+071061e12ce7ca4f3d62a2e329db0503  Devel-Autoflush-0.05.tar.gz


More information about the scm-commits mailing list