3 %bcond_without tests # do not perform "make test"
7 Summary: Devel::Autoflush - Set autoflush from the command line
9 Name: perl-Devel-Autoflush
13 Group: Development/Languages/Perl
14 Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 071061e12ce7ca4f3d62a2e329db0503
16 URL: http://search.cpan.org/dist/Devel-Autoflush/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl(IO::CaptureOutput) >= 1.08
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This module is a hack to set autoflush for STDOUT and STDERR from the
27 command line or from PERL5OPT for code that needs it but doesn't have
30 # %description -l pl.UTF-8
34 %setup -q -n %{pdir}-%{pnam}-%{version}
38 destdir=$RPM_BUILD_ROOT \
42 %{?with_tests:./Build test}
45 rm -rf $RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc Changes INSTALL README
55 %{perl_vendorlib}/Devel/*.pm