From b546d299b9cb89d687a3aa8a896387fea888c381 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Tue, 2 Feb 2016 15:59:35 +0100
Subject: Package cleanup

---
 perl-Wx-Perl-ProcessStream.spec | 34 +++++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)

diff --git a/perl-Wx-Perl-ProcessStream.spec b/perl-Wx-Perl-ProcessStream.spec
index 5fa5e33..25e61e4 100644
--- a/perl-Wx-Perl-ProcessStream.spec
+++ b/perl-Wx-Perl-ProcessStream.spec
@@ -1,26 +1,42 @@
 # Tests need X display
-%define enable_test 1
+%global enable_test 1
 
 Name:           perl-Wx-Perl-ProcessStream
 Version:        0.32
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Access IO of external processes via events
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Wx-Perl-ProcessStream/
 Source0:        
http://www.cpan.org/authors/id/M/MD/MDOOTSON/Wx-Perl-ProcessStream-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  coreutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(base)
+BuildRequires:  perl(bytes)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(lib)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Time::HiRes) >= 1.2
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 BuildRequires:  perl(Wx) >= 0.5
+BuildRequires:  perl(Wx::App)
+BuildRequires:  perl(Wx::Event)
+BuildRequires:  perl(Wx::EvtHandler)
+BuildRequires:  perl(Wx::Frame)
+BuildRequires:  perl(Wx::Perl::Carp)
+BuildRequires:  perl(Wx::PlCommandEvent)
+BuildRequires:  perl(Wx::Process)
 %if %enable_test
 BuildRequires:  xorg-x11-server-Xvfb
 BuildRequires:  xorg-x11-xinit
 %endif
 Requires:       perl(Time::HiRes) >= 1.2
 Requires:       perl(Wx) >= 0.5
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This module provides the STDOUT, STDERR and exit codes of asynchronously
@@ -33,13 +49,11 @@ possible via STDIN.
 chmod -x example/*
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=perl
+perl Makefile.PL INSTALLDIRS=perl NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -50,12 +64,14 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %endif
 
 %files
-%defattr(-,root,root,-)
 %doc Changes example README
 %{perl_privlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Feb 02 2016 Jitka Plesnikova <jples...@redhat.com> - 0.32-10
+- Package cleanup
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.32-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-Wx-Perl-ProcessStream.git/commit/?h=master&id=b546d299b9cb89d687a3aa8a896387fea888c381
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to