rpms/perl-Spreadsheet-WriteExcel/devel perl-Spreadsheet-WriteExcel.spec, 1.3, 1.4

Tom Callaway (spot) fedora-extras-commits at redhat.com
Sun Apr 24 23:14:02 UTC 2005


Author: spot

Update of /cvs/extras/rpms/perl-Spreadsheet-WriteExcel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12092/devel

Modified Files:
	perl-Spreadsheet-WriteExcel.spec 
Log Message:

merge



Index: perl-Spreadsheet-WriteExcel.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Spreadsheet-WriteExcel/devel/perl-Spreadsheet-WriteExcel.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Spreadsheet-WriteExcel.spec	21 Apr 2005 13:34:16 -0000	1.3
+++ perl-Spreadsheet-WriteExcel.spec	24 Apr 2005 23:14:00 -0000	1.4
@@ -1,8 +1,3 @@
-# Provide perl-specific find-{provides,requires}.
-%define _use_internal_dependency_generator 0
-%define __find_provides /usr/lib/rpm/find-provides.perl
-%define __find_requires /usr/lib/rpm/find-requires.perl
-
 Summary: Write formatted text and numbers to a cross-platform Excel binary file
 Name: perl-Spreadsheet-WriteExcel
 Version: 2.13
@@ -12,7 +7,7 @@
 Source0: Spreadsheet-WriteExcel-%{version}.tar.gz
 Url: http://search.cpan.org/dist/Spreadsheet-WriteExcel
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: perl >= 0:5.00503, perl-Parse-RecDescent
+BuildRequires: perl >= 1:5.6.1, perl-Parse-RecDescent
 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch: noarch
 
@@ -31,23 +26,23 @@
 
 This module cannot be used to read an Excel file. See
 Spreadsheet::ParseExcel or look at the main documentation for some
-suggestions. This module cannot be uses to write to an existing
+suggestions. This module cannot be used to write to an existing
 Excel file.
 
 %prep
 %setup -q -n Spreadsheet-WriteExcel-%{version} 
+%{__perl} -pi -e 's/\r\n/\n/g' Changes README exe/chartex \
+     doc/*.html charts/{README,*.{pl,pod,txt}}
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 %{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
@@ -59,17 +54,20 @@
 
 %files
 %defattr(-,root,root,-)
+%doc Changes README doc/ charts/
 %{_bindir}/chartex
 %{perl_vendorlib}/*
 %{_mandir}/man1/*.1*
 %{_mandir}/man3/*.3*
 
 %changelog
-* Thu Apr 21 2005 Oliver Falk <oliver at linux-kernel.at>		- 2.13-1
+* Sun Apr 24 2005 Tom "spot" Callaway <tcallawa at redhat.com>
+- spec cleanups
+
+* Thu Apr 21 2005 Oliver Falk <oliver at linux-kernel.at> 2.13-1
 - Update
 
 * Thu Apr 14 2005 Tom "spot" Callaway <tcallawa at redhat.com> 2.12-3
-* Thu Apr 14 2005 Tom "spot" Callaway <tcallawa at redhat.com> 2.12-3
 - rework spec to match template
 - set to noarch
 




More information about the fedora-extras-commits mailing list