Update to 0.05

- New upstream release 0.05
  - Use MakeMaker
- Revert to ExtUtils::MakeMaker flow
- Drop Test::Pod version requirement for EPEL build compatibility
epel9
Paul Howarth 12 years ago
parent 2281da1a35
commit 94208e4a6b

@ -2,8 +2,8 @@
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0) %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
Name: perl-Data-Section-Simple Name: perl-Data-Section-Simple
Version: 0.04 Version: 0.05
Release: 2%{?dist} Release: 1%{?dist}
Summary: Read data from __DATA__ Summary: Read data from __DATA__
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -13,16 +13,14 @@ Patch1: Data-Section-Simple-0.04-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch BuildArch: noarch
# Build # Build
BuildRequires: perl(Module::Build::Tiny) >= 0.020 BuildRequires: perl(ExtUtils::MakeMaker)
# Module # Module
BuildRequires: perl(base) BuildRequires: perl(base)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
# Test Suite # Test Suite
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Temp)
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.41 BuildRequires: perl(Test::Pod)
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -39,16 +37,17 @@ section of the file.
%endif %endif
%build %build
perl Build.PL --installdirs=vendor perl Makefile.PL INSTALLDIRS=vendor
./Build make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
./Build install --destdir=%{buildroot} --create_packlist=0 make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
%check %check
RELEASE_TESTING=1 ./Build test make test RELEASE_TESTING=1
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -59,6 +58,12 @@ rm -rf %{buildroot}
%{_mandir}/man3/Data::Section::Simple.3pm* %{_mandir}/man3/Data::Section::Simple.3pm*
%changelog %changelog
* Tue Jun 11 2013 Paul Howarth <paul@city-fan.org> - 0.05-1
- Update to 0.05
- Use MakeMaker
- Revert to ExtUtils::MakeMaker flow
- Drop Test::Pod version requirement for EPEL build compatibility
* Mon May 20 2013 Paul Howarth <paul@city-fan.org> - 0.04-2 * Mon May 20 2013 Paul Howarth <paul@city-fan.org> - 0.04-2
- Use Module::Build::Tiny's new --create_packlist option - Use Module::Build::Tiny's new --create_packlist option

@ -1 +1 @@
34f06bef3ad373790dcbbdf14f7af1d0 Data-Section-Simple-0.04.tar.gz 082979ccfb4017bc952902d129887ce9 Data-Section-Simple-0.05.tar.gz

Loading…
Cancel
Save