[perl-Devel-GlobalDestruction] Update to 0.03

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 32c3b7af592802ef161d35378870f7e5afd75bab
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Fri Jun 24 13:39:34 2011 +0100

    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}

 .gitignore                        |    2 +-
 perl-Devel-GlobalDestruction.spec |   44 ++++++++++++++++++++++++++-----------
 sources                           |    2 +-
 3 files changed, 33 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9c53bd1..4c03985 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Devel-GlobalDestruction-0.02.tar.gz
+/Devel-GlobalDestruction-[0-9.]*\.tar\.gz
diff --git a/perl-Devel-GlobalDestruction.spec b/perl-Devel-GlobalDestruction.spec
index 66a1355..25f24d1 100644
--- a/perl-Devel-GlobalDestruction.spec
+++ b/perl-Devel-GlobalDestruction.spec
@@ -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 
-Version:        0.02 
-Release:        12%{?dist}
+Version:        0.03 
+Release:        1%{?dist}
 # see lib/Devel/GlobalDestruction.pm
 License:        GPL+ or Artistic
 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
-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) 
 BuildRequires:  perl(ExtUtils::MakeMaker) 
 BuildRequires:  perl(Scope::Guard)
 BuildRequires:  perl(Sub::Exporter)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-# don't "provide" private Perl libs
-%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}"
+%{?perl_default_filter}
 
 %description
 Perl's global destruction is a little tricky to deal with with respect to
@@ -53,12 +55,28 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc t/
-%{perl_vendorarch}/*
-%exclude %dir %{perl_vendorarch}/auto
-%{_mandir}/man3/*.3*
+%doc Changes t/
+%if %{noarch_package}
+%{perl_vendorlib}/Devel/
+%else
+%{perl_vendorarch}/auto/Devel/
+%{perl_vendorarch}/Devel/
+%endif
+%{_mandir}/man3/Devel::GlobalDestruction.3pm*
 
 %changelog
+* Fri Jun 24 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 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@xxxxxxxxxxxxxxxxxxxxxxx> - 0.02-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 9831f54..e3054c9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f43db3fc6a9de1bf8dbd4792f7d3e3d2  Devel-GlobalDestruction-0.02.tar.gz
+09b70f95536464d8901675f230fbc3aa  Devel-GlobalDestruction-0.03.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux