[5803] | 1 | Name: perl-common-sense |
---|
| 2 | Summary: "Common sense" Perl defaults |
---|
| 3 | Version: 3.4 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-%{version}.tar.gz |
---|
| 8 | URL: http://search.cpan.org/dist/common-sense |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
---|
| 10 | BuildArch: noarch |
---|
| 11 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 12 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 13 | |
---|
| 14 | # Obsolete/provide old -tests subpackage (can be removed in F19 development cycle) |
---|
| 15 | Obsoletes: %{name}-tests < %{version}-%{release} |
---|
| 16 | Provides: %{name}-tests = %{version}-%{release} |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | This module implements some sane defaults for Perl programs, as defined |
---|
| 20 | by two typical (or not so typical - use your common sense) specimens of |
---|
| 21 | Perl coders: |
---|
| 22 | |
---|
| 23 | use strict qw(vars subs); |
---|
| 24 | use feature qw(say state switch); |
---|
| 25 | no warnings; |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q -n common-sense-%{version} |
---|
| 29 | |
---|
| 30 | %build |
---|
| 31 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 32 | make %{?_smp_mflags} |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | rm -rf %{buildroot} |
---|
| 36 | make pure_install DESTDIR=%{buildroot} |
---|
| 37 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 38 | find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
---|
| 39 | %{_fixperms} %{buildroot} |
---|
| 40 | |
---|
| 41 | %check |
---|
| 42 | make test |
---|
| 43 | |
---|
| 44 | %clean |
---|
| 45 | rm -rf %{buildroot} |
---|
| 46 | |
---|
| 47 | %files |
---|
| 48 | %defattr(-,root,root,-) |
---|
| 49 | %doc LICENSE Changes README t/ |
---|
| 50 | %{perl_vendorlib}/common/ |
---|
| 51 | %{_mandir}/man3/common::sense.3pm* |
---|
| 52 | |
---|
| 53 | %changelog |
---|
| 54 | * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.4-1 |
---|
| 55 | - initial build for Vine Linux |
---|
| 56 | |
---|
| 57 | * Sat Jan 21 2012 Paul Howarth <paul@city-fan.org> - 3.4-5 |
---|
| 58 | - Obsolete/provide old -tests subpackage to support upgrades |
---|
| 59 | |
---|
| 60 | * Thu Jan 19 2012 Paul Howarth <paul@city-fan.org> - 3.4-4 |
---|
| 61 | - Reinstate compatibility with older distributions like EL-5 |
---|
| 62 | - Drop -tests subpackage (general lack of interest in this), but include |
---|
| 63 | them as documentation for the main package |
---|
| 64 | - Don't use macros for commands |
---|
| 65 | - Make %%files list more explicit |
---|
| 66 | - Use tabs |
---|
| 67 | |
---|
| 68 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-3 |
---|
| 69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 70 | |
---|
| 71 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.4-2 |
---|
| 72 | - Perl mass rebuild |
---|
| 73 | |
---|
| 74 | * Sat May 07 2011 Iain Arnell <iarnell@gmail.com> - 3.4-1 |
---|
| 75 | - Update to latest upstream version |
---|
| 76 | |
---|
| 77 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2 |
---|
| 78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 79 | |
---|
| 80 | * Sat Dec 18 2010 Iain Arnell <iarnell@gmail.com> 3.3-1 |
---|
| 81 | - Update to latest upstream version |
---|
| 82 | - Clean up spec for modern rpmbuild |
---|
| 83 | |
---|
| 84 | * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.0-3 |
---|
| 85 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
| 86 | |
---|
| 87 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.0-2 |
---|
| 88 | - Mass rebuild with perl-5.12.0 |
---|
| 89 | |
---|
| 90 | * Sun Mar 14 2010 Chris Weyl <cweyl@alumni.drew.edu> - 3.0-1 |
---|
| 91 | - Update by Fedora::App::MaintainerTools 0.006 |
---|
| 92 | - PERL_INSTALL_ROOT => DESTDIR |
---|
| 93 | - Updating to latest GA CPAN version (3.0) |
---|
| 94 | |
---|
| 95 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.0-3 |
---|
| 96 | - Rebuild against perl 5.10.1 |
---|
| 97 | |
---|
| 98 | * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.0-2 |
---|
| 99 | - Update summary (though now we deviate from upstream) |
---|
| 100 | |
---|
| 101 | * Mon Aug 31 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.0-1 |
---|
| 102 | - Auto-update to 1.0 (by cpan-spec-update 0.01) |
---|
| 103 | |
---|
| 104 | * Fri Aug 21 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-0 |
---|
| 105 | - Initial RPM packaging |
---|
| 106 | - Generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) |
---|