|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: perl-Data-Section-Simple
|
|
|
|
|
Version: 0.04
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Read data from __DATA__
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -13,7 +13,7 @@ Patch1: Data-Section-Simple-0.04-old-Test::More.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: perl(Module::Build::Tiny)
|
|
|
|
|
BuildRequires: perl(Module::Build::Tiny) >= 0.020
|
|
|
|
|
# Module
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
@ -44,8 +44,7 @@ perl Build.PL --installdirs=vendor
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
./Build install --destdir=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -60,6 +59,9 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_mandir}/man3/Data::Section::Simple.3pm*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon May 20 2013 Paul Howarth <paul@city-fan.org> - 0.04-2
|
|
|
|
|
- Use Module::Build::Tiny's new --create_packlist option
|
|
|
|
|
|
|
|
|
|
* Fri Mar 29 2013 Paul Howarth <paul@city-fan.org> - 0.04-1
|
|
|
|
|
- Update to 0.04
|
|
|
|
|
- Do not throw exceptions when there's no template
|
|
|
|
|