|
|
|
@ -1,12 +1,11 @@
|
|
|
|
|
Name: perl-File-Map
|
|
|
|
|
Version: 0.51
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.52
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Memory mapping made simple and safe
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/File-Map/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/File-Map-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: perl >= 0:5.008
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
# Run-time
|
|
|
|
@ -46,8 +45,6 @@ chmod -x examples/fastsearch.pl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
@ -59,12 +56,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes examples LICENSE README
|
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
|
%{perl_vendorarch}/File*
|
|
|
|
@ -72,6 +64,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Oct 06 2012 Emmanuel Seyman <emmanuel@seyman.fr> - 0.52-1
|
|
|
|
|
- Update to 0.52
|
|
|
|
|
- Clean up spec file
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|