Update to 0.05
- New upstream release 0.05 - Add pure-perl implementation for situations where neither ${^GLOBAL_PHASE} nor XS are available - This release by DOY -> update source URL - BR: perl(XSLoader) only if we're doing an XS build, and in that case add a runtime dependency on it and BR: perl(ExtUtils::CBuilder) ≥ 0.27 too - Add runtime dependency on perl(Carp) - Drop %defattr, redundant since rpm 4.4
This commit is contained in:
parent
f8e941ed87
commit
9928221010
@ -2,21 +2,25 @@
|
|||||||
%global noarch_package %(perl -e 'print (($] >= 5.013007) ? 1 : 0);')
|
%global noarch_package %(perl -e 'print (($] >= 5.013007) ? 1 : 0);')
|
||||||
|
|
||||||
Name: perl-Devel-GlobalDestruction
|
Name: perl-Devel-GlobalDestruction
|
||||||
Version: 0.04
|
Version: 0.05
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Expose PL_dirty, the flag that 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/F/FL/FLORA/Devel-GlobalDestruction-%{version}.tar.gz
|
Source: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Devel-GlobalDestruction-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||||
%if %{noarch_package}
|
%if %{noarch_package}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%else
|
||||||
|
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
||||||
|
BuildRequires: perl(XSLoader)
|
||||||
|
Requires: perl(XSLoader)
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Sub::Exporter)
|
BuildRequires: perl(Sub::Exporter)
|
||||||
BuildRequires: perl(XSLoader)
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
Requires: perl(Carp)
|
||||||
|
|
||||||
# Don't "provide" private Perl libs
|
# Don't "provide" private Perl libs
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
@ -44,7 +48,6 @@ 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} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||||
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -54,7 +57,6 @@ make test
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes t/
|
%doc Changes t/
|
||||||
%if %{noarch_package}
|
%if %{noarch_package}
|
||||||
%{perl_vendorlib}/Devel/
|
%{perl_vendorlib}/Devel/
|
||||||
@ -65,6 +67,16 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/Devel::GlobalDestruction.3pm*
|
%{_mandir}/man3/Devel::GlobalDestruction.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 27 2012 Paul Howarth <paul@city-fan.org> - 0.05-1
|
||||||
|
- Update to 0.05
|
||||||
|
- Add pure-perl implementation for situations where neither ${^GLOBAL_PHASE}
|
||||||
|
nor XS are available
|
||||||
|
- This release by DOY -> update source URL
|
||||||
|
- BR: perl(XSLoader) only if we're doing an XS build, and in that case add a
|
||||||
|
runtime dependency on it and BR: perl(ExtUtils::CBuilder) ≥ 0.27 too
|
||||||
|
- Add runtime dependency on perl(Carp)
|
||||||
|
- Drop %%defattr, redundant since rpm 4.4
|
||||||
|
|
||||||
* Fri Jan 13 2012 Paul Howarth <paul@city-fan.org> - 0.04-1
|
* Fri Jan 13 2012 Paul Howarth <paul@city-fan.org> - 0.04-1
|
||||||
- Update to 0.04
|
- Update to 0.04
|
||||||
- To detect a perl with ${^GLOBAL_PHASE}, check for the feature itself
|
- To detect a perl with ${^GLOBAL_PHASE}, check for the feature itself
|
||||||
|
Loading…
Reference in New Issue
Block a user