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