[perl-Spreadsheet-WriteExcel-Simple] Spec cleanup

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

 



commit 4411b6816d12167a9545387369cc9ea8a7ce5c25
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Fri Jan 27 14:06:57 2012 +0100

    Spec cleanup

 perl-Spreadsheet-WriteExcel-Simple.spec |   21 ++++-----------------
 1 files changed, 4 insertions(+), 17 deletions(-)
---
diff --git a/perl-Spreadsheet-WriteExcel-Simple.spec b/perl-Spreadsheet-WriteExcel-Simple.spec
index d819906..bb268d4 100644
--- a/perl-Spreadsheet-WriteExcel-Simple.spec
+++ b/perl-Spreadsheet-WriteExcel-Simple.spec
@@ -6,21 +6,16 @@ License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Spreadsheet-WriteExcel-Simple/
 Source0:        http://www.cpan.org/authors/id/T/TM/TMTM/Spreadsheet-WriteExcel-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(IO::Scalar) >= 1.126
 BuildRequires:  perl(Spreadsheet::WriteExcel) >= 0.31
 BuildRequires:  perl(Test::More)
 # optional tests
 BuildRequires:  perl(Spreadsheet::ParseExcel)
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
-
-#Requires:       perl(IO::Scalar) >= 1.126
-#Requires:       perl(Spreadsheet::WriteExcel) >= 0.31
+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::WriteExcel
@@ -31,27 +26,19 @@ documents.
 %setup -q -n Spreadsheet-WriteExcel-Simple-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 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 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