[perl-Wx] 0.9901

Tom Callaway spot at fedoraproject.org
Tue Jun 7 20:45:25 UTC 2011


commit 60fa0d88215911507759075fca080acb9ac77262
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Tue Jun 7 16:45:14 2011 -0400

    0.9901

 .gitignore   |    1 +
 perl-Wx.spec |   17 +++++++----------
 sources      |    2 +-
 3 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 296ef35..012d685 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 Wx-0.92.tar.gz
 /Wx-0.98.tar.gz
 /Wx-0.99.tar.gz
+/Wx-0.9901.tar.gz
diff --git a/perl-Wx.spec b/perl-Wx.spec
index 83cfd7b..30e3332 100644
--- a/perl-Wx.spec
+++ b/perl-Wx.spec
@@ -9,21 +9,20 @@
 # for i in `grep -r "PACKAGE=" * | cut -d " " -f 2 | sed 's|PACKAGE=|perl(|g' | grep "Wx::" | sort -n |uniq`; do printf "Provides: $i)\\n"; done
 
 Name:           perl-Wx
-Version:        0.99
+Version:        0.9901
 Release:        1%{?dist}
 Summary:        Interface to the wxWidgets cross-platform GUI toolkit
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Wx/
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MB/MBARBON/Wx-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildRequires:  wxGTK-devel
 BuildRequires:  perl(Alien::wxWidgets) >= 0.25
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.21
 BuildRequires:  perl(ExtUtils::ParseXS) >= 2.2203
+# Technically, we need XSpp::Cmd, but there is no versioning in that provide.
+BuildRequires:	perl(ExtUtils::XSpp) >= 0.1602
 BuildRequires:  perl(ExtUtils::XSpp::Cmd)
 BuildRequires:  perl(Module::Info)
 BuildRequires:  perl(Test::More), perl(Test::Harness)
@@ -359,7 +358,7 @@ find . -type f -name "*.pm" -o -name "*.h" -o -name "*.cpp" |
 %filter_setup 
 
 %build
-%{__perl} Makefile.PL --wx-unicode \
+perl Makefile.PL --wx-unicode \
   --wx-version=`wx-config --version | cut -d . -f 1-2` \
   --wx-toolkit=gtk2 \
   INSTALLDIRS=vendor \
@@ -367,7 +366,6 @@ find . -type f -name "*.pm" -o -name "*.h" -o -name "*.cpp" |
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
@@ -377,11 +375,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 %{?_with_testsuite:make test}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README.txt docs/todo.txt wxpl.ico wxpl.xpm
 %doc samples/
 %{_bindir}/*
@@ -391,6 +385,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*.3pm*
 
 %changelog
+* Tue Jun  7 2011 Tom Callaway <spot at fedoraproject.org> - 0.9901-1
+- update to 0.9901
+
 * Mon May  9 2011 Tom Callaway <spot at fedoraproject.org> - 0.99-1
 - update to 0.99
 
diff --git a/sources b/sources
index c34758b..2627369 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-db283a7f5cf527d5608fd3f9863dc28b  Wx-0.99.tar.gz
+2c0d49373551271a9237bf779edfd0b1  Wx-0.9901.tar.gz



More information about the perl-devel mailing list