Update to 0.03
- New upstream release 0.03 - Drop the XS code on perl versions recent enough to have ${^GLOBAL_PHASE} (5.13.7 onwards) - Require at least Perl 5.6 - Use XSLoader without a fallback to DynaLoader - Use our instead of use vars - This release by FLORA -> update source URL - Package is noarch from perl 5.13.7 - Package Changes file - Use %{?perl_default_filter}
This commit is contained in:
parent
0a70c404a3
commit
32c3b7af59
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
Devel-GlobalDestruction-0.02.tar.gz
|
/Devel-GlobalDestruction-[0-9.]*\.tar\.gz
|
||||||
|
@ -1,23 +1,25 @@
|
|||||||
|
# Package is noarch from perl 5.13.7
|
||||||
|
%global noarch_package %(perl -e 'print (($] >= 5.013007) ? 1 : 0);')
|
||||||
|
|
||||||
Name: perl-Devel-GlobalDestruction
|
Name: perl-Devel-GlobalDestruction
|
||||||
Version: 0.02
|
Version: 0.03
|
||||||
Release: 12%{?dist}
|
Release: 1%{?dist}
|
||||||
# see lib/Devel/GlobalDestruction.pm
|
# see lib/Devel/GlobalDestruction.pm
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Expose PL_dirty, the flag which marks global destruction
|
Summary: Expose PL_dirty, the flag that marks global destruction
|
||||||
Url: http://search.cpan.org/dist/Devel-GlobalDestruction
|
Url: http://search.cpan.org/dist/Devel-GlobalDestruction
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/Devel-GlobalDestruction-%{version}.tar.gz
|
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Devel-GlobalDestruction-%{version}.tar.gz
|
||||||
|
%if %{noarch_package}
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Scope::Guard)
|
BuildRequires: perl(Scope::Guard)
|
||||||
BuildRequires: perl(Sub::Exporter)
|
BuildRequires: perl(Sub::Exporter)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
# don't "provide" private Perl libs
|
%{?perl_default_filter}
|
||||||
%global _use_internal_dependency_generator 0
|
|
||||||
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
|
|
||||||
%global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
|
|
||||||
%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}"
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Perl's global destruction is a little tricky to deal with with respect to
|
Perl's global destruction is a little tricky to deal with with respect to
|
||||||
@ -53,12 +55,28 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc t/
|
%doc Changes t/
|
||||||
%{perl_vendorarch}/*
|
%if %{noarch_package}
|
||||||
%exclude %dir %{perl_vendorarch}/auto
|
%{perl_vendorlib}/Devel/
|
||||||
%{_mandir}/man3/*.3*
|
%else
|
||||||
|
%{perl_vendorarch}/auto/Devel/
|
||||||
|
%{perl_vendorarch}/Devel/
|
||||||
|
%endif
|
||||||
|
%{_mandir}/man3/Devel::GlobalDestruction.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 24 2011 Paul Howarth <paul@city-fan.org> - 0.03-1
|
||||||
|
- Update to 0.03
|
||||||
|
- Drop the XS code on perl versions recent enough to have ${^GLOBAL_PHASE}
|
||||||
|
(5.13.7 onwards)
|
||||||
|
- Require at least Perl 5.6
|
||||||
|
- Use XSLoader without a fallback to DynaLoader
|
||||||
|
- Use our instead of use vars
|
||||||
|
- This release by FLORA -> update source URL
|
||||||
|
- Package is noarch from perl 5.13.7
|
||||||
|
- Package Changes file
|
||||||
|
- Use %%{?perl_default_filter}
|
||||||
|
|
||||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-12
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-12
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user