Buildroot cleanup, ChangeLog conversion to utf8, example scripts interpreters corrected
epel9
Petr Sabata 14 years ago
parent de6dfd6762
commit bec6b27308

1
.gitignore vendored

@ -5,3 +5,4 @@ Text-CSV_XS-0.72.tgz
/Text-CSV_XS-0.76.tgz /Text-CSV_XS-0.76.tgz
/Text-CSV_XS-0.79.tgz /Text-CSV_XS-0.79.tgz
/Text-CSV_XS-0.80.tgz /Text-CSV_XS-0.80.tgz
/Text-CSV_XS-0.81.tgz

@ -1,13 +1,11 @@
Name: perl-Text-CSV_XS Name: perl-Text-CSV_XS
Version: 0.80 Version: 0.81
Release: 2%{?dist} Release: 1%{?dist}
Summary: Comma-separated values manipulation routines Summary: Comma-separated values manipulation routines
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Text-CSV_XS/ URL: http://search.cpan.org/dist/Text-CSV_XS/
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz 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)
BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Pod::Coverage)
@ -28,7 +26,9 @@ fields into a CSV string and parse a CSV string into fields.
%prep %prep
%setup -q -n Text-CSV_XS-%{version} %setup -q -n Text-CSV_XS-%{version}
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog
chmod -c a-x examples/* chmod -c a-x examples/*
find . -type f -exec sed -i '1s/pro/usr/' {} \;
%build %build
@ -37,7 +37,6 @@ make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$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 .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -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 make test
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc ChangeLog README examples/ %doc ChangeLog README examples/
@ -63,6 +58,12 @@ rm -rf $RPM_BUILD_ROOT
%changelog %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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

@ -1 +1 @@
b3334f0d9764ddd427c02f29277d728d Text-CSV_XS-0.80.tgz 1819e3d443f1611c8d0a0fb0ab4a17c7 Text-CSV_XS-0.81.tgz

Loading…
Cancel
Save