commit 94bbe49dbeea28fdbaa3653300ee62f028eb169a Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Nov 19 14:29:21 2013 +0100 0.9942 bump .gitignore | 1 + perl-Tk-Pod.spec | 102 ++++++++++++++++++++++++++++++++++++++++++++++-------- sources | 2 +- 3 files changed, 89 insertions(+), 16 deletions(-) --- diff --git a/.gitignore b/.gitignore index 27790f7..f0e2cc3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /Tk-Pod-0.9939.tar.gz /Tk-Pod-0.9940.tar.gz /Tk-Pod-0.9941.tar.gz +/Tk-Pod-0.9942.tar.gz diff --git a/perl-Tk-Pod.spec b/perl-Tk-Pod.spec index 42c8a9e..f1ee681 100644 --- a/perl-Tk-Pod.spec +++ b/perl-Tk-Pod.spec @@ -1,44 +1,116 @@ %global use_x11_tests 1 Name: perl-Tk-Pod -Version: 0.9941 -Release: 4%{?dist} +Version: 0.9942 +Release: 1%{?dist} Summary: Pod browser top-level widget License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Tk-Pod/ Source0: http://www.cpan.org/authors/id/S/SR/SREZIC/Tk-Pod-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Temp) BuildRequires: perl(Pod::Simple) >= 2.05 BuildRequires: perl(Tk) >= 800.004 -# Tests: +# Run-time: +# AnyDBM_File not used at tests BuildRequires: perl(base) -BuildRequires: perl(Devel::Hide) +BuildRequires: perl(Benchmark) +BuildRequires: perl(blib) +BuildRequires: perl(Carp) +BuildRequires: perl(Class::Struct) +BuildRequires: perl(Config) +BuildRequires: perl(constant) +# Data::Dumper not used at tests BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::Command::MM) +# Fcntl not used at tests +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Find) +# File::HomeDir never used BuildRequires: perl(File::Spec) -BuildRequires: perl(File::Temp) -BuildRequires: perl(FindBin) BuildRequires: perl(Getopt::Long) -BuildRequires: perl(Test::More) +# I18N::Langinfo is optional +BuildRequires: perl(IO::Socket) +# Module::Refresh not used at tests +# PerlIO::gzip is optional +# Pod::Functions not used at tests +BuildRequires: perl(Pod::Simple) >= 2.05 +BuildRequires: perl(Pod::Simple::PullParser) +# Pod::Simple::PullParserEndToken not used at tests +# Pod::Simple::PullParserStartToken not used at tests +# Pod::Simple::PullParserTextToken not used at tests +# Pod::Simple::RTF is never used +# Pod::Simple::Text is never used +# Pod::Usage not used at tests +BuildRequires: perl(POSIX) +# Proc::ProcessTable is optional +BuildRequires: perl(Safe) +BuildRequires: perl(Storable) +BuildRequires: perl(strict) +# Text::English not used at tests +# Text::Wrap is never used +# Tk::App::Debug is optional +# Tk::App::Reloader is optional +BuildRequires: perl(Tk::BrowseEntry) +# Tk::Compound is optional and not needed wih Tk >= 804 BuildRequires: perl(Tk::Derived) +# Tk::DialogBox not used at tests +# Tk::FileSelect not used at tests +BuildRequires: perl(Tk::Frame) +# Tk::HistEntry is optional +# Tk::HList is not needed wih Tk >= 800.024012 +BuildRequires: perl(Tk::ItemStyle) +BuildRequires: perl(Tk::LabEntry) +# Tk::Listbox is not needed wih Tk >= 800.024012 BuildRequires: perl(Tk::ROText) +# Tk::ToolBar is optional +BuildRequires: perl(Tk::Toplevel) +BuildRequires: perl(Tk::Tree) +BuildRequires: perl(Tk::Widget) +# URI::Escape is optional +BuildRequires: perl(vars) +# Win32 is never used +# Win32Util is never used +# Tests: +BuildRequires: perl(Cwd) +BuildRequires: perl(Devel::Hide) +BuildRequires: perl(ExtUtils::Command::MM) +BuildRequires: perl(File::Temp) +BuildRequires: perl(FindBin) +BuildRequires: perl(lib) BuildRequires: perl(Test) +BuildRequires: perl(Test::More) # Optional tests: #BuildRequires: perl(Tk::HistEntry) >= 0.4 -#BuildRequires: perl(Text::English) %if %{use_x11_tests} # X11 tests: BuildRequires: xorg-x11-server-Xvfb BuildRequires: xorg-x11-xinit BuildRequires: font(:lang=en) %endif -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Benchmark) +Requires: perl(blib) Requires: perl(File::Temp) +Requires: perl(Module::Refresh) +Requires: perl(Pod::Functions) Requires: perl(Pod::Simple) >= 2.05 +Requires: perl(Pod::Simple::PullParserEndToken) +Requires: perl(Pod::Simple::PullParserStartToken) +Requires: perl(Pod::Simple::PullParserTextToken) +Requires: perl(Pod::Usage) +Requires: perl(POSIX) +Requires: perl(Safe) +Requires: perl(Storable) Requires: perl(Tk) >= 800.004 +Requires: perl(Tk::BrowseEntry) +Requires: perl(Tk::DialogBox) +Requires: perl(Tk::FileSelect) +Requires: perl(Tk::LabEntry) +Requires: perl(Tk::ROText) +Requires: perl(Tk::Widget) # URI::Escape is optional but usefull to escape URIs properly Requires: perl(URI::Escape) @@ -55,20 +127,17 @@ Simple Pod browser with hypertext capabilities in a Toplevel widget. chmod -x Pod_usage.pod %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check %if %{use_x11_tests} - # TODO: Use xvfb-run instead of xinit - xinit /bin/sh -c 'rm -f ok; make test && touch ok' -- /usr/bin/Xvfb :666 - test -e ok + xvfb-run -a make test %else make test %endif @@ -81,6 +150,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_mandir}/man1/* %changelog +* Tue Nov 19 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.9942-1 +- 0.9942 bump + * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.9941-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index d82fb8a..cdd86df 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bd94b892746e23b1c0626cf82dc18473 Tk-Pod-0.9941.tar.gz +3cbd1b44b83a129ec7ac0a33f6913fa8 Tk-Pod-0.9942.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