rpms/perl-IO-stringy/devel perl-IO-stringy.spec,1.22,1.23

Paul Howarth pghmcfc at fedoraproject.org
Fri Jan 15 13:44:56 UTC 2010


Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-IO-stringy/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30458

Modified Files:
	perl-IO-stringy.spec 
Log Message:
spec cleanups (see also merge review #552564)


Index: perl-IO-stringy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-IO-stringy/devel/perl-IO-stringy.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- perl-IO-stringy.spec	15 Jan 2010 12:39:36 -0000	1.22
+++ perl-IO-stringy.spec	15 Jan 2010 13:44:56 -0000	1.23
@@ -1,59 +1,78 @@
 Summary:	I/O on in-core objects like strings and arrays for Perl
 Name:		perl-IO-stringy
 Version:	2.110
-Release:	11%{?dist}
+Release:	12%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/IO-stringy/
 Source0:	http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/IO-stringy-%{version}.tar.gz
 BuildArch:	noarch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	perl(ExtUtils::MakeMaker)
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
-This toolkit primarily provides Perl modules for performing both
-traditional and object-oriented I/O) on things *other* than normal
-filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines.
+This toolkit primarily provides modules for performing both traditional
+and object-oriented I/O) on things *other* than normal filehandles; in
+particular, IO::Scalar, IO::ScalarArray, and IO::Lines.
+
+In the more-traditional IO::Handle front, we have IO::AtomicFile, which
+may be used to painlessly create files that are updated atomically.
+
+And in the "this-may-prove-useful" corner, we have IO::Wrap, whose
+exported wraphandle() function will clothe anything that's not a blessed
+object in an IO::Handle-like wrapper... so you can just use OO syntax
+and stop worrying about whether your function's caller handed you a
+string, a globref, or a FileHandle.
 
 %prep
 %setup -q -n IO-stringy-%{version}
-chmod 644 examples/IO_Scalar_synopsis
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-%{_fixperms} -R u+w %{buildroot}/*
+%{__rm} -rf %{buildroot}
+%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
+/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
+/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
+%{_fixperms} %{buildroot}
 
 %check
-make test
+%{__make} test
 
 %clean
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
 %doc README COPYING examples
 %{perl_vendorlib}/IO/
-%{_mandir}/man3/IO::*.3pm*
+%{_mandir}/man3/IO::AtomicFile.3pm*
+%{_mandir}/man3/IO::InnerFile.3pm*
+%{_mandir}/man3/IO::Lines.3pm*
+%{_mandir}/man3/IO::Scalar.3pm*
+%{_mandir}/man3/IO::ScalarArray.3pm*
+%{_mandir}/man3/IO::Stringy.3pm*
+%{_mandir}/man3/IO::Wrap.3pm*
+%{_mandir}/man3/IO::WrapTie.3pm*
 
 %changelog
+* Fri Jan 15 2010 Paul Howarth <paul at city-fan.org> 2.110-12
+- spec cleanups (see also merge review #552564)
+
 * Sun Dec 20 2009 Robert Scheck <robert at fedoraproject.org> 2.110-11
-- Rebuilt against perl 5.10.1
+- rebuilt against perl 5.10.1
 
-* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.110-10
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 2.110-10
+- rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
-* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.110-9
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 2.110-9
+- rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
-* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2.110-8
-- Rebuild for perl 5.10 (again)
+* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.110-8
+- rebuild for perl 5.10 (again)
 
 * Tue Jan 15 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.110-7
 - rebuild for new perl
@@ -77,24 +96,24 @@ rm -rf %{buildroot}
 * Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
 - rebuilt
 
-* Tue Feb 15 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:2.110-1
-- 2.110.
-- Some specfile cleanups, bringing it closer to spectemplate-perl.spec.
+* Tue Feb 15 2005 Ville Skyttä <ville.skytta at iki.fi> 2.110-1
+- 2.110
+- some specfile cleanups, bringing it closer to spectemplate-perl.spec
 
-* Wed Dec 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.109-0.fdr.1
-- Update to 2.109.
+* Wed Dec 31 2003 Ville Skyttä <ville.skytta at iki.fi> 2.109-0.fdr.1
+- update to 2.109
 
-* Thu Oct  2 2003 Michael Schwendt <rh0212ms[AT]arcor.de> 0:2.108-0.fdr.4
-- Package is now using vendor directories
+* Thu Oct  2 2003 Michael Schwendt <rh0212ms[AT]arcor.de> 2.108-0.fdr.4
+- package is now using vendor directories
 
-* Sat Aug 16 2003 Dams <anvil[AT]livna.org> 0:2.108-0.fdr.3
-- Package is now noarch
+* Sat Aug 16 2003 Dams <anvil[AT]livna.org> 2.108-0.fdr.3
+- package is now noarch
 - rm-ing perllocal.pod instead of excluding it
 
-* Fri Jul 11 2003 Dams <anvil[AT]livna.org> 0:2.108-0.fdr.2
-- Changed Group tag value
+* Fri Jul 11 2003 Dams <anvil[AT]livna.org> 2.108-0.fdr.2
+- changed Group tag value
 - "make test" in build section
-- Added missing directory
+- added missing directory
 
-* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
-- Initial build.
+* Sun Jun 15 2003 Dams <anvil[AT]livna.org> 2.108-0.fdr.1
+- initial build



More information about the scm-commits mailing list