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
This commit is contained in:
parent
7c4db9099c
commit
9073f73828
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
File-ReadBackwards-1.04.tar.gz
|
||||
/File-ReadBackwards-[0-9.]*.tar.gz
|
||||
|
@ -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@city-fan.org> - 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@lists.fedoraproject.org> - 1.04-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user