rpms/perl-IO-Prompt/F-12 perl-IO-Prompt.spec,1.6,1.7 sources,1.2,1.3

Chris Weyl cweyl at fedoraproject.org
Mon Mar 1 03:56:22 UTC 2010


Author: cweyl

Update of /cvs/extras/rpms/perl-IO-Prompt/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3649

Modified Files:
	perl-IO-Prompt.spec sources 
Log Message:
* Sat Feb 27 2010 Chris Weyl <cweyl at alumni.drew.edu> 0.997-2
- conditionalize tests -- they fail in koji



Index: perl-IO-Prompt.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-IO-Prompt/F-12/perl-IO-Prompt.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- perl-IO-Prompt.spec	26 Jul 2009 06:41:45 -0000	1.6
+++ perl-IO-Prompt.spec	1 Mar 2010 03:56:22 -0000	1.7
@@ -1,23 +1,32 @@
-# $Id$
-
 Name:           perl-IO-Prompt
-Version:        0.99.4 
-Release:        5%{?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,28 @@ 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 at alumni.drew.edu> 0.997-2
+- conditionalize tests -- they fail in koji
+
+* Sat Feb 27 2010 Chris Weyl <cweyl at alumni.drew.edu> 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 at redhat.com> - 0.99.4-6
+- rebuild against perl 5.10.1
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.99.4-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-IO-Prompt/F-12/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	1 Mar 2010 03:56:22 -0000	1.3
@@ -1 +1 @@
-c62e369783af1f3dfe775e5d80686b61  IO-Prompt-v0.99.4.tar.gz
+3f6a8610db9c541e07daffde650f0e7d  IO-Prompt-0.997.tar.gz




More information about the perl-devel mailing list