|
|
|
@ -1,13 +1,11 @@
|
|
|
|
|
Name: perl-Text-CSV_XS
|
|
|
|
|
Version: 0.80
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.81
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Comma-separated values manipulation routines
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/Text-CSV_XS/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
@ -28,7 +26,9 @@ fields into a CSV string and parse a CSV string into fields.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Text-CSV_XS-%{version}
|
|
|
|
|
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog
|
|
|
|
|
chmod -c a-x examples/*
|
|
|
|
|
find . -type f -exec sed -i '1s/pro/usr/' {} \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -37,7 +37,6 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
|
@ -50,10 +49,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc ChangeLog README examples/
|
|
|
|
@ -63,6 +58,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Mar 23 2011 Petr Sabata <psabata@redhat.com> - 0.81-1
|
|
|
|
|
- 0.81 version bump
|
|
|
|
|
- Changed script interpreters in various example files
|
|
|
|
|
- Convert ChangeLog to proper UTF8
|
|
|
|
|
- Removed buildroot garbage
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|