Blame SPECS/perl-Data-Peek.spec

e61abc
Name:           perl-Data-Peek
e61abc
Version:        0.38
e61abc
Release:        3%{?dist}
e61abc
Summary:        Collection of low-level debug facilities
e61abc
License:        GPL+ or Artistic
e61abc
Group:          Development/Libraries
e61abc
URL:            http://search.cpan.org/dist/Data-Peek/
e61abc
Source0:        http://www.cpan.org/authors/id/H/HM/HMBRAND/Data-Peek-%{version}.tgz
e61abc
# automatically create also DP.pm as alias of Data-Peek
e61abc
Patch0:         Data-Peek-0.33.patch
e61abc
BuildRequires:  perl(Data::Dumper)
e61abc
BuildRequires:  perl(DynaLoader)
e61abc
BuildRequires:  perl(ExtUtils::MakeMaker)
e61abc
BuildRequires:  perl(strict)
e61abc
BuildRequires:  perl(Test::More)
e61abc
BuildRequires:  perl(Test::NoWarnings)
e61abc
BuildRequires:  perl(warnings)
e61abc
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
e61abc
e61abc
%{?perl_default_filter}
e61abc
e61abc
%description
e61abc
Data::Peek started off as DDumper being a wrapper module over Data::Dumper,
e61abc
but grew out to be a set of low-level data introspection utilities that no
e61abc
other module provided yet, using the lowest level of the perl internals API
e61abc
as possible.
e61abc
e61abc
%prep
e61abc
%setup -q -n Data-Peek-%{version}
e61abc
%patch0 -p1
e61abc
e61abc
%build
e61abc
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
e61abc
make %{?_smp_mflags}
e61abc
e61abc
%install
e61abc
make pure_install DESTDIR=$RPM_BUILD_ROOT
e61abc
e61abc
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
e61abc
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
e61abc
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
e61abc
e61abc
%{_fixperms} $RPM_BUILD_ROOT/*
e61abc
e61abc
%check
e61abc
make test
e61abc
e61abc
%files
e61abc
%defattr(-,root,root,-)
e61abc
%doc ChangeLog README
e61abc
%{perl_vendorarch}/auto/*
e61abc
%{perl_vendorarch}/Data*
e61abc
%{perl_vendorarch}/DP.pm
e61abc
%{_mandir}/man3/*
e61abc
e61abc
%changelog
e61abc
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.38-3
e61abc
- Mass rebuild 2014-01-24
e61abc
e61abc
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.38-2
e61abc
- Mass rebuild 2013-12-27
e61abc
e61abc
* Fri Oct 19 2012 Marcela Mašláňová <mmaslano@redhat.com> 0.38-1
e61abc
- Update to 0.38
e61abc
e61abc
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-5
e61abc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e61abc
e61abc
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.33-4
e61abc
- Perl 5.16 rebuild
e61abc
e61abc
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-3
e61abc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e61abc
e61abc
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.33-2
e61abc
- Perl mass rebuild
e61abc
e61abc
* Mon Apr 04 2011 Marcela Mašláňová <mmaslano@redhat.com> 0.33-1
e61abc
- Specfile autogenerated by cpanspec 1.79.
e61abc
- apply patch to automatically create alias -> DP on Data::Peek