[5844] | 1 | Name: perl-Package-Stash-XS |
---|
[8708] | 2 | Version: 0.28 |
---|
[5844] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Faster and more correct implementation of the Package::Stash API |
---|
| 5 | Group: Development/Libraries |
---|
| 6 | License: GPL+ or Artistic |
---|
| 7 | URL: http://search.cpan.org/dist/Package-Stash-XS/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-%{version}.tar.gz |
---|
| 9 | Patch0: Package-Stash-XS-0.23-old-eumm.patch |
---|
| 10 | Patch1: Package-Stash-XS-0.24-old-Test::More.patch |
---|
| 11 | Patch2: Package-Stash-XS-0.24-no-Test::LeakTrace.patch |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
---|
| 13 | BuildRequires: perl >= 2:5.8.1 |
---|
| 14 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 15 | |
---|
| 16 | # Don't "provide" private Perl libs |
---|
| 17 | %{?perl_default_filter} |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | This is a back-end for Package::Stash, which provides the functionality in a |
---|
| 21 | way that's less buggy and much faster. It will be used by default if it's |
---|
| 22 | installed, and should be preferred in all environments with a compiler. |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q -n Package-Stash-XS-%{version} |
---|
| 26 | |
---|
| 27 | %build |
---|
| 28 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
---|
| 29 | make %{?_smp_mflags} |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | rm -rf %{buildroot} |
---|
| 33 | make pure_install DESTDIR=%{buildroot} |
---|
| 34 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 35 | find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
---|
| 36 | find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null |
---|
| 37 | %{_fixperms} %{buildroot} |
---|
| 38 | |
---|
| 39 | %check |
---|
[8708] | 40 | #make test AUTHOR_TESTING=1 RELEASE_TESTING=1 |
---|
[5844] | 41 | |
---|
| 42 | %clean |
---|
| 43 | rm -rf %{buildroot} |
---|
| 44 | |
---|
| 45 | %files |
---|
| 46 | %defattr(-,root,root,-) |
---|
| 47 | %doc Changes LICENSE README |
---|
| 48 | %{perl_vendorarch}/auto/Package/ |
---|
| 49 | %{perl_vendorarch}/Package/ |
---|
| 50 | %{_mandir}/man3/Package::Stash::XS.3pm* |
---|
| 51 | |
---|
| 52 | %changelog |
---|
[8708] | 53 | * Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.28-1 |
---|
| 54 | - update to 0.28 |
---|
| 55 | |
---|
[5844] | 56 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.25-1 |
---|
| 57 | - initial build for Vine Linux |
---|
| 58 | |
---|
| 59 | * Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 0.25-2 |
---|
| 60 | - Use %%{_fixperms} macro instead of our own chmod incantation |
---|
| 61 | |
---|
| 62 | * Tue Sep 6 2011 Paul Howarth <paul@city-fan.org> - 0.25-1 |
---|
| 63 | - Update to 0.25 |
---|
| 64 | - Invalid package names (for instance, Foo:Bar) are not allowed |
---|
| 65 | - Invalid stash entry names (anything containing ::) are not allowed |
---|
| 66 | - Update patches to apply cleanly |
---|
| 67 | |
---|
| 68 | * Tue Aug 9 2011 Paul Howarth <paul@city-fan.org> - 0.23-1 |
---|
| 69 | - Update to 0.23 |
---|
| 70 | - Fix the test for scalar values, again |
---|
| 71 | - Disallow assigning globrefs to scalar glob slots (this doesn't actually |
---|
| 72 | make any sense) |
---|
| 73 | - Update patches for old ExtUtils::MakeMaker and Test::More versions |
---|
| 74 | - perl(Pod::Coverage::TrustPod) now available in EPEL-4 too |
---|
| 75 | - Don't use macros for commands |
---|
| 76 | |
---|
| 77 | * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.22-2 |
---|
| 78 | - Perl mass rebuild |
---|
| 79 | |
---|
| 80 | * Sat Mar 5 2011 Paul Howarth <paul@city-fan.org> - 0.22-1 |
---|
| 81 | - Update to 0.22 |
---|
| 82 | - Make the namespace cache lazy and weak, in case the stash is deleted |
---|
| 83 | - However, this doesn't work on 5.8, so disable the namespace caching |
---|
| 84 | entirely there |
---|
| 85 | - Update patches to apply cleanly |
---|
| 86 | |
---|
| 87 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2 |
---|
| 88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 89 | |
---|
| 90 | * Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 0.21-1 |
---|
| 91 | - Update to 0.21 |
---|
| 92 | - Make the leak tests author-only, since some smokers run release tests |
---|
| 93 | - Fix some XS forward compat stuff |
---|
| 94 | - Update patches to apply cleanly |
---|
| 95 | |
---|
| 96 | * Wed Jan 12 2011 Paul Howarth <paul@city-fan.org> - 0.20-1 |
---|
| 97 | - Update to 0.20 |
---|
| 98 | - Lower perl prereq to 5.8.1 |
---|
| 99 | - Make the leak tests release-only |
---|
| 100 | - Update patches to apply cleanly |
---|
| 101 | - Drop no-Test::Requires patch, no longer needed |
---|
| 102 | - Drop buildreq perl(Test::Requires), no longer needed |
---|
| 103 | - Add patch to skip memory leak tests if we don't have Test::LeakTrace |
---|
| 104 | |
---|
| 105 | * Thu Jan 6 2011 Paul Howarth <paul@city-fan.org> - 0.19-1 |
---|
| 106 | - Update to 0.19 (more correct validity test for scalars) |
---|
| 107 | - Update patch for old Test::More versions |
---|
| 108 | |
---|
| 109 | * Wed Nov 17 2010 Paul Howarth <paul@city-fan.org> - 0.17-2 |
---|
| 110 | - Sanitize spec for Fedora submission |
---|
| 111 | |
---|
| 112 | * Wed Nov 17 2010 Paul Howarth <paul@city-fan.org> - 0.17-1 |
---|
| 113 | - Initial RPM build |
---|