e323922
Name:           perl-Data-Structure-Util
30f2d74
Version:        0.15
617ca25
Release:        2%{?dist}
e323922
Summary:        Change nature of data within a structure
4703989
License:        GPL+ or Artistic
e323922
Group:          Development/Libraries
e323922
URL:            http://search.cpan.org/dist/Data-Structure-Util/
30f2d74
Source0:        http://www.cpan.org/authors/id/A/AN/ANDYA/Data-Structure-Util-%{version}.tar.gz
e323922
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
30f2d74
BuildRequires:  perl(ExtUtils::MakeMaker)
e323922
BuildRequires:  perl(Test::Pod)
e323922
BuildRequires:  perl(File::Find::Rule)
e323922
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
e323922
e323922
%description
e323922
Data::Structure::Util is a toolbox to manipulate the data inside a data
e323922
structure. It can process an entire tree and perform the operation
e323922
requested on each appropriate element.
e323922
e323922
%prep
e323922
%setup -q -n Data-Structure-Util-%{version}
e323922
e323922
chmod 644 CHANGES README bin/packages.pl
e323922
e323922
%build
30f2d74
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
30f2d74
make %{?_smp_mflags}
e323922
e323922
%install
e323922
rm -rf $RPM_BUILD_ROOT
e323922
30f2d74
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
e323922
e323922
rm -f $RPM_BUILD_ROOT%{_bindir}/packages.pl \
e323922
    $RPM_BUILD_ROOT%{_mandir}/man1/packages.pl*
e323922
30f2d74
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
e323922
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
395616d
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
e323922
0140952
%{_fixperms} $RPM_BUILD_ROOT/*
e323922
e323922
%check
30f2d74
make test
e323922
e323922
%clean
e323922
rm -rf $RPM_BUILD_ROOT
e323922
e323922
%files
e323922
%defattr(-,root,root,-)
e323922
%doc CHANGES README bin/packages.pl
e323922
%{perl_vendorarch}/auto/*
e323922
%{perl_vendorarch}/Data*
e323922
%{_mandir}/man3/*
e323922
e323922
%changelog
617ca25
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
617ca25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
617ca25
30f2d74
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 0.15-1
30f2d74
- Update to 0.15.
30f2d74
- Fix Source0 URL (maintainer has changed).
30f2d74
- Drop Clone dependency.
30f2d74
- Build using Makefile.PL/make instead of Module::Build.
30f2d74
2606021
* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.13-1
2606021
- 0.13 (not on CPAN yet, got from new maintainer)
2606021
4703989
* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.12-5
4703989
- rebuild for new perl
4703989
242ecf3
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12-4
242ecf3
- Autorebuild for GCC 4.3
242ecf3
0140952
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 0.12-3
0140952
- Use fixperms macro instead of our own chmod incantation.
0140952
395616d
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.12-2
395616d
- Fix find option order.
395616d
1b79c65
* Sat Jul 01 2006 Steven Pritchard <steve@kspei.com> 0.12-1
1b79c65
- Update to 0.12.
1b79c65
e323922
* Sat May 20 2006 Steven Pritchard <steve@kspei.com> 0.11-1
e323922
- Specfile autogenerated by cpanspec 1.66.
e323922
- Drop explicit BR: perl.
e323922
- BR: File::Find::Rule (for tests).
e323922
- Add packages.pl to doc list and fix the permissions for the docs.
e323922
- Drop NINJA non-doc.