Update to 0.04
- New upstream release 0.04 - To detect a perl with ${^GLOBAL_PHASE}, check for the feature itself instead of a specific perl version - Update the documentation to reflect the use of ${^GLOBAL_PHASE} if available - Stop depending on Scope::Guard for the tests - Upgrade ppport.h from version 3.13 to 3.19 - Drop no-longer-necessary buildreq perl(Scope::Guard) - Use DESTDIR rather than PERL_INSTALL_ROOT - BR: perl(XSLoader)
This commit is contained in:
parent
40194a090c
commit
f8e941ed87
@ -1,24 +1,24 @@
|
||||
# Package is noarch from perl 5.13.7
|
||||
%global noarch_package %(perl -e 'print (($] >= 5.013007) ? 1 : 0);')
|
||||
|
||||
Name: perl-Devel-GlobalDestruction
|
||||
Version: 0.03
|
||||
Release: 3%{?dist}
|
||||
# see lib/Devel/GlobalDestruction.pm
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Summary: Expose PL_dirty, the flag that marks global destruction
|
||||
Url: http://search.cpan.org/dist/Devel-GlobalDestruction
|
||||
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Devel-GlobalDestruction-%{version}.tar.gz
|
||||
Name: perl-Devel-GlobalDestruction
|
||||
Version: 0.04
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Summary: Expose PL_dirty, the flag that marks global destruction
|
||||
Url: http://search.cpan.org/dist/Devel-GlobalDestruction
|
||||
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Devel-GlobalDestruction-%{version}.tar.gz
|
||||
%if %{noarch_package}
|
||||
BuildArch: noarch
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Scope::Guard)
|
||||
BuildRequires: perl(Sub::Exporter)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Sub::Exporter)
|
||||
BuildRequires: perl(XSLoader)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
# Don't "provide" private Perl libs
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
@ -36,12 +36,12 @@ global destruction is in effect.
|
||||
%setup -q -n Devel-GlobalDestruction-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -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
|
||||
@ -51,7 +51,7 @@ find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
@ -65,6 +65,17 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Devel::GlobalDestruction.3pm*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 13 2012 Paul Howarth <paul@city-fan.org> - 0.04-1
|
||||
- Update to 0.04
|
||||
- To detect a perl with ${^GLOBAL_PHASE}, check for the feature itself
|
||||
instead of a specific perl version
|
||||
- Update the documentation to reflect the use of ${^GLOBAL_PHASE} if available
|
||||
- Stop depending on Scope::Guard for the tests
|
||||
- Upgrade ppport.h from version 3.13 to 3.19
|
||||
- Drop no-longer-necessary buildreq perl(Scope::Guard)
|
||||
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
||||
- BR: perl(XSLoader)
|
||||
|
||||
* Wed Jan 11 2012 Paul Howarth <paul@city-fan.org> - 0.03-3
|
||||
- Fedora 17 mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user