[perl-Tree-DAG_Node] Update to 1.07

Paul Howarth pghmcfc at fedoraproject.org
Fri Nov 2 13:47:23 UTC 2012


commit b42861d1acaa89dfc5d69c15cda533937f5330a5
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Nov 2 13:46:12 2012 +0000

    Update to 1.07
    
    - New upstream release 1.07
      - New maintainer: Ron Savage
      - Pre-emptive apologies for any changes which are not back-compatible; no
        such problems are expected, but the introduction of new methods may
        disconcert some viewers
      - Fix CPAN RT#78858 and audit code for similar problems
      - Fix CPAN RT#79506
      - Rename ChangeLog to CHANGES, and add Changelog.ini
      - Replace all uses of cyclicity_fault() and Carp::croak with die
      - Remove unused methods: decommission_root(), cyclicity_allowed(),
        cyclicity_fault(), inaugurate_root(), no_cyclicity() and _update_links();
        OK - cyclicity_fault() was called once - it just died
      - Add methods: format_node(), hashref2string(), is_root(), node2string(),
        tree2string()
      - Reformat the POD big-time
      - Add Build.PL
      - Re-write Makefile.PL
      - Remove use vars(@ISA $Debug $VERSION), and replace latter 2 with 'our ...'
      - Rename t/00_about_verbose.t to t/about.perl.t
      - Add scripts/cut.and.paste.subtrees.pl (Warning: Some trees get into an
        infinite loop)
      - Add t/cut.and.paste.subtrees.t (Warning: Some trees get into an infinite
        loop)
      - Document the options (discouraged by Sean) supported in the call to
        new($hashref)
    - This release by RSAVAGE -> update source URL
    - BR: perl(Test::More) and perl(Test::Pod) ≥ 1.00
    - Modernize spec file:
      - Drop %clean section
      - Drop buildroot definition and cleaning
      - Don't use macros for commands
      - Don't need to remove empty directories from the buildroot
      - Use %{_fixperms} macro rather than our own chmod incantation
      - Drop %defattr, redundant since rpm 4.4

 .gitignore              |    3 +-
 perl-Tree-DAG_Node.spec |   77 ++++++++++++++++++++++++++++++----------------
 sources                 |    2 +-
 3 files changed, 53 insertions(+), 29 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f8a7b21..7c888fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
-Tree-DAG_Node-1.06.tar.gz
+/Tree-DAG_Node-[0-9.]*.tgz
+/Tree-DAG_Node-[0-9.]*.tar.gz
diff --git a/perl-Tree-DAG_Node.spec b/perl-Tree-DAG_Node.spec
index fc538fc..7c13d56 100644
--- a/perl-Tree-DAG_Node.spec
+++ b/perl-Tree-DAG_Node.spec
@@ -1,19 +1,18 @@
 Name:           perl-Tree-DAG_Node
-Version:        1.06
-Release:        15%{?dist}
+Version:        1.07
+Release:        1%{?dist}
 Summary:        Class for representing nodes in a tree
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Tree-DAG_Node/
-Source0:        http://search.cpan.org/CPAN/authors/id/C/CO/COGENT/Tree-DAG_Node-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
+Source0:        http://search.cpan.org/CPAN/authors/id/R/RS/RSAVAGE/Tree-DAG_Node-%{version}.tgz
 BuildArch:      noarch
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod) >= 1.00
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This class encapsulates/makes/manipulates objects that represent nodes
@@ -24,40 +23,64 @@ a tree, while preventing you from ever making any kinds of linkages
 which are not allowed in a tree (such as having a node be its own
 mother or ancestor, or having a node have two mothers).
 
-
 %prep
 %setup -q -n Tree-DAG_Node-%{version}
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
 
 %check
 make test
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
-%doc ChangeLog README
+%doc CHANGES README
 %{perl_vendorlib}/Tree/
-%{_mandir}/man3/*.3pm*
-
+%{_mandir}/man3/Tree::DAG_Node.3pm*
 
 %changelog
+* Fri Nov  2 2012 Paul Howarth <paul at city-fan.org> - 1.07-1
+- Update to 1.07
+  - New maintainer: Ron Savage
+  - Pre-emptive apologies for any changes which are not back-compatible; no
+    such problems are expected, but the introduction of new methods may
+    disconcert some viewers
+  - Fix CPAN RT#78858 and audit code for similar problems
+  - Fix CPAN RT#79506
+  - Rename ChangeLog to CHANGES, and add Changelog.ini
+  - Replace all uses of cyclicity_fault() and Carp::croak with die
+  - Remove unused methods: decommission_root(), cyclicity_allowed(),
+    cyclicity_fault(), inaugurate_root(), no_cyclicity() and _update_links();
+    OK - cyclicity_fault() was called once - it just died
+  - Add methods: format_node(), hashref2string(), is_root(), node2string(),
+    tree2string()
+  - Reformat the POD big-time
+  - Add Build.PL
+  - Re-write Makefile.PL
+  - Remove use vars(@ISA $Debug $VERSION), and replace latter 2 with 'our ...'
+  - Rename t/00_about_verbose.t to t/about.perl.t
+  - Add scripts/cut.and.paste.subtrees.pl (Warning: Some trees get into an
+    infinite loop)
+  - Add t/cut.and.paste.subtrees.t (Warning: Some trees get into an infinite
+    loop)
+  - Document the options (discouraged by Sean) supported in the call to
+    new($hashref)
+- This release by RSAVAGE -> update source URL
+- BR: perl(Test::More) and perl(Test::Pod) ≥ 1.00
+- Modernize spec file:
+  - Drop %%clean section
+  - Drop buildroot definition and cleaning
+  - Don't use macros for commands
+  - Don't need to remove empty directories from the buildroot
+  - Use %%{_fixperms} macro rather than our own chmod incantation
+  - Drop %%defattr, redundant since rpm 4.4
+
 * Mon Oct 29 2012 Jitka Plesnikova <jplesnik at redhat.com> - 1.06-15
 - Specify all dependencies
 
@@ -77,7 +100,7 @@ rm -rf $RPM_BUILD_ROOT
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Thu Dec 23 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.06-9
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Fri May 07 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.06-8
 - Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 71f35d4..d8364f5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3b006f128bd1d8961fc57c466ffa05f2  Tree-DAG_Node-1.06.tar.gz
+1d12c1cb72a71edfdaab1b08a8f2e354  Tree-DAG_Node-1.07.tgz



More information about the perl-devel mailing list