update to 1.20120726

epel9
Tom Callaway 12 years ago
parent f08e509418
commit 46f44dd482

1
.gitignore vendored

@ -1 +1,2 @@
UNIVERSAL-can-1.15.tar.gz
/UNIVERSAL-can-1.20120726.tar.gz

@ -1,14 +1,11 @@
Name: perl-UNIVERSAL-can
Version: 1.15
Release: 9%{?dist}
Version: 1.20120726
Release: 1%{?dist}
Summary: Hack around people calling UNIVERSAL::can() as a function
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/UNIVERSAL-can/
Source0: http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Simple) >= 0.60
@ -26,38 +23,32 @@ as functions, bypassing any possible overriding. This is wrong and you
should not do it. Unfortunately, not everyone heeds this warning and
their bad code can break your good code.
%prep
%setup -q -n UNIVERSAL-can-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
chmod -R u+w $RPM_BUILD_ROOT/*
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot}
%check
PERL_RUN_ALL_TESTS=1 ./Build test
%clean
rm -rf $RPM_BUILD_ROOT
PERL_RUN_ALL_TESTS=1 make test
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/UNIVERSAL/
%{_mandir}/man3/*.3*
%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.15-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

@ -1 +1 @@
d08a0bdedccadebed359f2c0a7b5afbb UNIVERSAL-can-1.15.tar.gz
6fd9ece12720615f9f081073dc2aedbb UNIVERSAL-can-1.20120726.tar.gz

Loading…
Cancel
Save