Author: cweyl Update of /cvs/extras/rpms/perl-IO-Prompt/F-13 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26793 Modified Files: perl-IO-Prompt.spec sources Log Message: * Sat Feb 27 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.997-2 - conditionalize tests -- they fail in koji Index: perl-IO-Prompt.spec =================================================================== RCS file: /cvs/extras/rpms/perl-IO-Prompt/F-13/perl-IO-Prompt.spec,v retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- perl-IO-Prompt.spec 7 Dec 2009 11:03:27 -0000 1.7 +++ perl-IO-Prompt.spec 28 Feb 2010 04:59:01 -0000 1.8 @@ -1,23 +1,32 @@ -# $Id$ - Name: perl-IO-Prompt -Version: 0.99.4 -Release: 6%{?dist} Summary: Interactively prompt for user input +Version: 0.997 +Release: 2%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/IO-Prompt-%{version}.tar.gz +URL: http://search.cpan.org/dist/IO-Prompt +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch -Group: Development/Libraries -License: GPL+ or Artistic -URL: http://search.cpan.org/dist/IO-Prompt -Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/IO-Prompt-v%{version}.tar.gz +BuildRequires: perl(IO::Handle) +BuildRequires: perl(POSIX) +BuildRequires: perl(Term::ReadKey) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(version) +BuildRequires: perl(Want) + +Requires: perl(IO::Handle) +Requires: perl(POSIX) +Requires: perl(Term::ReadKey) +Requires: perl(version) +Requires: perl(Want) -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch -BuildRequires: perl -BuildRequires: perl(Test::More), perl(version), perl(IO::Handle) -BuildRequires: perl(Term::ReadKey), perl(POSIX), perl(Want) -BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%{?perl_default_filter} +%{?perl_default_subpackage_tests} %description An object-oriented way to prompt for user input -- and control how the user is @@ -25,29 +34,27 @@ prompted. %prep -%setup -q -n IO-Prompt-v%{version} +%setup -q -n IO-Prompt-%{version} -# exec + doc == bad -cd examples -chmod -x * -%{_fixperms} * +find . -type f -exec chmod -c -x {} ';' %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w %{buildroot}/* +%{_fixperms} %{buildroot}/* %check -make test +%{?!_with_chec: echo Not running tests unless --with check is specificed } +%{?_with_check: make test } %clean @@ -56,12 +63,25 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes README examples +%doc Changes README examples/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Sat Feb 27 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.997-2 +- conditionalize tests -- they fail in koji + +* Sat Feb 27 2010 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.997-1 +- update by Fedora::App::MaintainerTools 0.004 +- PERL_INSTALL_ROOT => DESTDIR +- dropped old BR on perl(Test::Pod::Coverage) +- added a new req on perl(IO::Handle) (version 0) +- added a new req on perl(POSIX) (version 0) +- added a new req on perl(Term::ReadKey) (version 0) +- added a new req on perl(Want) (version 0) +- added a new req on perl(version) (version 0) + * Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 0.99.4-6 - rebuild against perl 5.10.1 Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-IO-Prompt/F-13/sources,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- sources 3 Jul 2006 17:50:42 -0000 1.2 +++ sources 28 Feb 2010 04:59:01 -0000 1.3 @@ -1 +1 @@ -c62e369783af1f3dfe775e5d80686b61 IO-Prompt-v0.99.4.tar.gz +3f6a8610db9c541e07daffde650f0e7d IO-Prompt-0.997.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