perl-Task-Weaken-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Name: perl-Task-Weaken
  2. Version: 1.06
  3. Release: 1%{?_dist_release}
  4. Summary: Ensure that a platform has weaken support
  5. License: Artistic or GPL+
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Task-Weaken/
  8. Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Task-Weaken-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(File::Spec)
  13. BuildRequires: perl(Scalar::Util)
  14. BuildRequires: perl(Test::More)
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. Requires: perl(Scalar::Util)
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: shaolin
  20. %description
  21. One recurring problem in modules that use Scalar::Util's weaken function is
  22. that it is not present in the pure-perl variant.
  23. This restores the functionality testing to a dependency you do once in
  24. your Makefile.PL, rather than something you have to write extra tests
  25. for each time you write a module.
  26. %prep
  27. %setup -q -n Task-Weaken-%{version}
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf ${RPM_BUILD_ROOT}
  33. make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
  34. find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \;
  35. find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \;
  36. %{_fixperms} ${RPM_BUILD_ROOT}/*
  37. %check
  38. make test
  39. %clean
  40. rm -rf ${RPM_BUILD_ROOT}
  41. %files
  42. %defattr(-,root,root,-)
  43. %license LICENSE
  44. %doc Changes README
  45. %{perl_vendorlib}/Task/*.pm
  46. %{_mandir}/man3/*
  47. %changelog
  48. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.06-1
  49. - new upstream release.
  50. - rebuilt with perl-5.26.
  51. * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.04-3
  52. - rebuilt with perl 5.16.3
  53. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-2
  54. - rebuild
  55. * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.04-1
  56. - initial package for Vine Linux
  57. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-2
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  59. * Sun Oct 09 2011 Iain Arnell <iarnell@gmail.com> 1.04-1
  60. - update to latest upstream version
  61. - explicity require perl(Scalar::Util)
  62. * Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.02-11
  63. - Perl mass rebuild
  64. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-10
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  66. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-9
  67. - 661697 rebuild for fixing problems with vendorach/lib
  68. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-8
  69. - Mass rebuild with perl-5.12.0
  70. * Tue Feb 9 2010 Stepan Kasal <skasal@redhat.com> - 1.02-7
  71. - fix the license tag
  72. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.02-6
  73. - rebuild against perl 5.10.1
  74. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-5
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  76. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-4
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  78. * Sat Jun 07 2008 Caolán McNamara <caolanm@redhat.com> 1.02-3
  79. - rebuild for dependancies
  80. * Fri Mar 28 2008 Simon Wilkinson <simon@sxw.org.uk> 1.02-2
  81. - Fix license tag
  82. * Thu Mar 27 2008 Simon Wilkinson <simon@sxw.org.uk> 1.02-1
  83. - Specfile autogenerated by cpanspec 1.73.