commit 9073f73828dc672bc2e203fdc9d8c507f16819dc Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Fri Oct 4 09:53:49 2013 +0100 Update to 1.05 - New upstream release 1.05 - Re-ordered Changes to be recent at the top - Rewritten t/large_file.t to skip non-sparse file systems - Specify all dependencies - Drop %defattr, redundant since rpm 4.4 - Make %files list more explicit - Don't need to remove empty directories from the buildroot - Use DESTDIR rather than PERL_INSTALL_ROOT - Don't use macros for commands - Improve %summary .gitignore | 2 +- perl-File-ReadBackwards.spec | 48 ++++++++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 35 insertions(+), 17 deletions(-) --- diff --git a/.gitignore b/.gitignore index 073c86e..e3b640f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -File-ReadBackwards-1.04.tar.gz +/File-ReadBackwards-[0-9.]*.tar.gz diff --git a/perl-File-ReadBackwards.spec b/perl-File-ReadBackwards.spec index ab49d40..ca20349 100644 --- a/perl-File-ReadBackwards.spec +++ b/perl-File-ReadBackwards.spec @@ -1,16 +1,27 @@ Name: perl-File-ReadBackwards -Version: 1.04 -Release: 18%{?dist} -Summary: File::ReadBackwards Perl module +Version: 1.05 +Release: 1%{?dist} +Summary: Read a file backwards by lines License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-ReadBackwards/ Source0: http://www.cpan.org/authors/id/U/UR/URI/File-ReadBackwards-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch +# Module Build BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(Fcntl) +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) +BuildRequires: perl(vars) +# Test Suite +BuildRequires: perl(Config) +BuildRequires: perl(File::Temp) BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module reads a file backwards line by line. It is simple to use, @@ -21,18 +32,14 @@ interface. %setup -q -n File-ReadBackwards-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$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 -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT %check make test @@ -41,12 +48,23 @@ make test rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/File/ +%{_mandir}/man3/File::ReadBackwards.3pm* %changelog +* Fri Oct 4 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 1.05-1 +- Update to 1.05 + - Re-ordered Changes to be recent at the top + - Rewritten t/large_file.t to skip non-sparse file systems +- Specify all dependencies +- Drop %%defattr, redundant since rpm 4.4 +- Make %%files list more explicit +- Don't need to remove empty directories from the buildroot +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Don't use macros for commands +- Improve %%summary + * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.04-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 118d7c8..2652b15 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bda339c8b2e5139649cb28c4b775fb42 File-ReadBackwards-1.04.tar.gz +613d9d02de6c1d86d5fa5b8816a6b214 File-ReadBackwards-1.05.tar.gz -- 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