[perl-Spreadsheet-ParseExcel-Simple] Spec cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit a23c6115223eb9e067ac795b4e1a1cb6ec43465c
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Fri Jan 27 14:10:18 2012 +0100

    Spec cleanup

 perl-Spreadsheet-ParseExcel-Simple.spec |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)
---
diff --git a/perl-Spreadsheet-ParseExcel-Simple.spec b/perl-Spreadsheet-ParseExcel-Simple.spec
index f33c77c..b84c93f 100644
--- a/perl-Spreadsheet-ParseExcel-Simple.spec
+++ b/perl-Spreadsheet-ParseExcel-Simple.spec
@@ -6,17 +6,16 @@ License:        GPLv2+
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Spreadsheet-ParseExcel-Simple/
 Source0:        http://www.cpan.org/authors/id/T/TM/TMTM/Spreadsheet-ParseExcel-Simple-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Spreadsheet::ParseExcel) >= 0.18
 BuildRequires:  perl(Test::More)
 # optional tests
+BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Spreadsheet::WriteExcel::Simple)
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 This library provides a simple abstraction of the Spreadsheet::ParseExcel 
@@ -30,23 +29,15 @@ module, for a kinder, gentler interface.
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README test.xls t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux