update to 0.23

epel9
Iain Arnell 14 years ago
parent 553d6e6fe5
commit 7c2461cafa

1
.gitignore vendored

@ -1 +1,2 @@
Class-C3-0.22.tar.gz Class-C3-0.22.tar.gz
/Class-C3-0.23.tar.gz

@ -1,20 +1,17 @@
%global older_perl %(%{__perl} -e '$] < 5.009_005 ? print 1 : print 0') %global older_perl %(%{__perl} -e '$] < 5.009_005 ? print 1 : print 0')
Name: perl-Class-C3 Name: perl-Class-C3
Version: 0.22 Version: 0.23
Release: 6%{?dist} Release: 1%{?dist}
Summary: Pragma to use the C3 method resolution order algorithm Summary: Pragma to use the C3 method resolution order algorithm
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Class-C3/ URL: http://search.cpan.org/dist/Class-C3/
Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Class-C3-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Class-C3-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# see rh#205081,rh#204800 # not automatically detected
%define __perl_provides %{nil}
Provides: perl(Class::C3) = %{version}
Provides: perl(c3) = %{version} Provides: perl(c3) = %{version}
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
@ -52,8 +49,6 @@ method resolution order.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
@ -64,9 +59,6 @@ cp opt/c3.pm %{buildroot}%{perl_vendorlib}/
%check %check
make test make test
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc ChangeLog README util/ %doc ChangeLog README util/
@ -74,6 +66,11 @@ rm -rf %{buildroot}
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sun Mar 13 2011 Iain Arnell <iarnell@gmail.com> 0.23-1
- update to latest upstream version
- clean up spec for modern rpmbuild
- no more need to disable __perl_provides
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-6 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

@ -1 +1 @@
9b5ad010984a7d276d13b91151e2183d Class-C3-0.22.tar.gz 5b997841af85a5f8ed8add7120d56611 Class-C3-0.23.tar.gz

Loading…
Cancel
Save