[perl-Newt] - drop Newt::Form::DESTROY method (Petr Pisar, #600670)

jorton jorton at fedoraproject.org
Thu Oct 14 13:14:42 UTC 2010


commit 8288a28563eccc84db392633a90b23dd2a754abd
Author: Joe Orton <jorton at redhat.com>
Date:   Thu Oct 14 14:14:30 2010 +0100

    - drop Newt::Form::DESTROY method (Petr Pisar, #600670)

 perl-Newt-1.08-formdestroy.patch |   16 ++++++++++++++++
 perl-Newt.spec                   |    7 ++++++-
 2 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/perl-Newt-1.08-formdestroy.patch b/perl-Newt-1.08-formdestroy.patch
new file mode 100644
index 0000000..e3b4a28
--- /dev/null
+++ b/perl-Newt-1.08-formdestroy.patch
@@ -0,0 +1,16 @@
+diff -up Newt-1.08/Newt.pm.formdestroy Newt-1.08/Newt.pm
+--- Newt-1.08/Newt.pm.formdestroy	2010-06-17 16:39:32.630469243 +0100
++++ Newt-1.08/Newt.pm	2010-06-17 16:50:00.809469642 +0100
+@@ -531,12 +531,6 @@ sub Newt::Form::GetCurrent {
+   return Newt::newtFormGetCurrent($self->{co});
+ }
+ 
+-sub Newt::Form::DESTROY {
+-  my $self = shift;
+-  
+-  Newt::newtFormDestroy($self->{co});
+-}
+-
+ ########################### Newt::Label
+ 
+ sub Newt::Label::Set {
diff --git a/perl-Newt.spec b/perl-Newt.spec
index fca80b1..3d3ce3f 100644
--- a/perl-Newt.spec
+++ b/perl-Newt.spec
@@ -1,7 +1,7 @@
 Summary: Perl bindings for the Newt library
 Name: perl-Newt
 Version: 1.08
-Release: 26%{?dist}
+Release: 27%{?dist}
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 URL: http://search.cpan.org/~amedina/Newt-1.08/
@@ -14,6 +14,7 @@ Patch4: newt-perl-1.08-lang.patch
 Patch5: perl-Newt-bz385751.patch
 Patch6: perl-Newt-1.08-export.patch
 Patch7: perl-Newt-1.08-pod.patch
+Patch8: perl-Newt-1.08-formdestroy.patch
 BuildRequires: newt-devel, perl-devel
 Obsoletes: newt-perl < 1.08-15
 Provides: newt-perl = %{version}-%{release}
@@ -34,6 +35,7 @@ library, which provides a color text mode user interface.
 %patch5 -p1 -b .bz385751
 %patch6 -p1 -b .export
 %patch7 -p1 -b .doc
+%patch8 -p1 -b .formdestroy
 rm -rf newtlib
 
 %build
@@ -60,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/Newt*
 
 %changelog
+* Thu Jun 17 2010 Joe Orton <jorton at redhat.com> - 1.08-27
+- drop Newt::Form::DESTROY method (Petr Pisar, #600670)
+
 * Tue May 04 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.08-26
 - Mass rebuild with perl-5.12.0
 



More information about the perl-devel mailing list