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.15.tar.gz
/UNIVERSAL-can-1.20120726.tar.gz

@ -1,14 +1,11 @@
Name: perl-UNIVERSAL-can Name: perl-UNIVERSAL-can
Version: 1.15 Version: 1.20120726
Release: 9%{?dist} Release: 1%{?dist}
Summary: Hack around people calling UNIVERSAL::can() as a function Summary: Hack around people calling UNIVERSAL::can() as a function
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/UNIVERSAL-can/ URL: http://search.cpan.org/dist/UNIVERSAL-can/
Source0: http://www.cpan.org/authors/id/C/CH/CHROMATIC/UNIVERSAL-can-%{version}.tar.gz 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 BuildArch: noarch
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Simple) >= 0.60 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 should not do it. Unfortunately, not everyone heeds this warning and
their bad code can break your good code. their bad code can break your good code.
%prep %prep
%setup -q -n UNIVERSAL-can-%{version} %setup -q -n UNIVERSAL-can-%{version}
%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} -type f -name '*.bs' -empty -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot}
%check %check
PERL_RUN_ALL_TESTS=1 ./Build test PERL_RUN_ALL_TESTS=1 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/*.3* %{_mandir}/man3/*.3*
%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.15-9 * 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 - 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