|
|
|
Name: perl-Data-Dumper-Names
|
|
|
|
Version: 0.03
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Data::Dumper like module for printing and eval data structures
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Data-Dumper-Names/
|
|
|
|
Source0: http://www.cpan.org/authors/id/O/OV/OVID/Data-Dumper-Names-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(PadWalker) >= 0.13
|
|
|
|
# Cyclic dependencies on Test::More
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
Requires: perl(PadWalker) >= 0.13
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
|
|
|
The essential module Data::Dumper is used for printing perl data structures or
|
|
|
|
suitable for eval. Data::Dumper::Names dump variables with names and without
|
|
|
|
source filter.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Data-Dumper-Names-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
./Build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
#./Build test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Apr 22 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.03-4
|
|
|
|
- added BR Test::More for tests, rebuild is not needed now
|
|
|
|
|
|
|
|
* Wed Apr 15 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.03-3
|
|
|
|
- tests need Test::Most, which are dependent on this package
|
|
|
|
|
|
|
|
* Mon Apr 6 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.03-2
|
|
|
|
- remove unnecessary requirement
|
|
|
|
|
|
|
|
* Thu Apr 02 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.03-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|