update to 1.20120726

epel9
Tom Callaway 12 years ago
parent e12b011aee
commit 3acaf21e9b

1
.gitignore vendored

@ -1 +1,2 @@
UNIVERSAL-isa-1.03.tar.gz UNIVERSAL-isa-1.03.tar.gz
/UNIVERSAL-isa-1.20120726.tar.gz

@ -1,20 +1,19 @@
Name: perl-UNIVERSAL-isa Name: perl-UNIVERSAL-isa
Version: 1.03 Version: 1.20120726
Release: 10%{?dist} Release: 1%{?dist}
Summary: Hack around module authors using UNIVERSAL::isa as a function Summary: Hack around module authors using UNIVERSAL::isa as a function
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/UNIVERSAL-isa/ URL: http://search.cpan.org/dist/UNIVERSAL-isa/
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/UNIVERSAL-isa-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/UNIVERSAL-isa-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(Module::Build) BuildRequires: perl(CGI)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description %description
Whenever you use "isa" in UNIVERSAL as a function, a kitten using Whenever you use "isa" in UNIVERSAL as a function, a kitten using
Test::MockObject dies. Normally, the kittens would be helpless, but Test::MockObject dies. Normally, the kittens would be helpless, but
@ -27,39 +26,32 @@ isa will be called on those objects as a method.
In all other cases the real UNIVERSAL::isa is just called directly. In all other cases the real UNIVERSAL::isa is just called directly.
%prep %prep
%setup -q -n UNIVERSAL-isa-%{version} %setup -q -n UNIVERSAL-isa-%{version}
%{__perl} -pi -e 's{^#!%{__perl}\b}{##!%{__perl}}' lib/UNIVERSAL/isa.pm %{__perl} -pi -e 's{^#!%{__perl}\b}{##!%{__perl}}' lib/UNIVERSAL/isa.pm
%build %build
%{__perl} Build.PL installdirs=vendor perl Makefile.PL INSTALLDIRS=vendor
./Build make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=%{buildroot}
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
chmod -R u+w $RPM_BUILD_ROOT/* find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot}
%check %check
./Build test make test
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc Changes README %doc Changes README
%{perl_vendorlib}/UNIVERSAL/ %{perl_vendorlib}/UNIVERSAL/
%{_mandir}/man3/*.3pm* %{_mandir}/man3/*.3pm*
%changelog %changelog
* Sun Jan 20 2013 Tom Callaway <spot@fedoraproject.org> - 1.20120726-1
- update to 1.20120726
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-10 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

@ -1 +1 @@
0643f2e04cd0b5739fc0908af291c609 UNIVERSAL-isa-1.03.tar.gz d4a001886e24221d91de889209667d1c UNIVERSAL-isa-1.20120726.tar.gz

Loading…
Cancel
Save