rpms/perl-IO-stringy/devel .cvsignore, 1.2, 1.3 perl-IO-stringy.spec, 1.5, 1.6 sources, 1.2, 1.3

Ville Skytta (scop) fedora-extras-commits at redhat.com
Tue Feb 15 17:15:54 UTC 2005


Author: scop

Update of /cvs/extras/rpms/perl-IO-stringy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20553

Modified Files:
	.cvsignore perl-IO-stringy.spec sources 
Log Message:
2.110, some spec cleanups.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-IO-stringy/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	8 Nov 2004 05:02:08 -0000	1.2
+++ .cvsignore	15 Feb 2005 17:15:52 -0000	1.3
@@ -1 +1 @@
-IO-stringy-2.109.tar.gz
+IO-stringy-2.110.tar.gz


Index: perl-IO-stringy.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-IO-stringy/devel/perl-IO-stringy.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-IO-stringy.spec	10 Dec 2004 22:03:08 -0000	1.5
+++ perl-IO-stringy.spec	15 Feb 2005 17:15:52 -0000	1.6
@@ -1,23 +1,23 @@
-%define		perl_vendorlib	%(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
+%define		perl_vendorlib	%(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
 
 %define		tarname	IO-stringy
 
-Summary: 	I/O on in-core objects like strings and arrays
+Summary: 	I/O on in-core objects like strings and arrays for Perl
 Name: 		perl-%{tarname}
-Version: 	2.109
+Version: 	2.110
 Release: 	1
 Epoch: 		0
 License: 	Artistic
 Group: 		Development/Libraries
 URL: 		http://search.cpan.org/dist/IO-stringy/
-Source0: 	%{tarname}-%{version}.tar.gz
+Source0: 	http://www.cpan.org/authors/id/D/DS/DSKOLL/%{tarname}-%{version}.tar.gz
 BuildArch:	noarch
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
 # -----------------------------------------------------------------------------
 
 %description
-This toolkit primarily provides modules for performing both
+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.
 
@@ -29,20 +29,22 @@
 # -----------------------------------------------------------------------------
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
-make test
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 # -----------------------------------------------------------------------------
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install \
-  PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
-  INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
-find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
-  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
+
+# -----------------------------------------------------------------------------
+
+%check || :
+make test
 
 # -----------------------------------------------------------------------------
 
@@ -53,29 +55,17 @@
 
 %files
 %defattr(-,root,root,-)
-%doc README COPYING docs examples
-%exclude %{perl_vendorlib}/IO/Scalar.pm.html
-%dir %{perl_vendorlib}/IO
-%{perl_vendorlib}/IO/AtomicFile.pm
-%{perl_vendorlib}/IO/InnerFile.pm
-%{perl_vendorlib}/IO/Lines.pm
-%{perl_vendorlib}/IO/Scalar.pm
-%{perl_vendorlib}/IO/ScalarArray.pm
-%{perl_vendorlib}/IO/Stringy.pm
-%{perl_vendorlib}/IO/Wrap.pm
-%{perl_vendorlib}/IO/WrapTie.pm
-%{_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*
+%doc README COPYING examples
+%{perl_vendorlib}/IO/
+%{_mandir}/man3/IO::*.3pm*
 
 # -----------------------------------------------------------------------------
 
 %changelog
+* 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.
+
 * Wed Dec 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.109-0.fdr.1
 - Update to 2.109.
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-IO-stringy/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	8 Nov 2004 05:02:08 -0000	1.2
+++ sources	15 Feb 2005 17:15:52 -0000	1.3
@@ -1 +1 @@
-fb8fbb8037bcc2aa0b9abec675231544  IO-stringy-2.109.tar.gz
+2e6a976cfa5521e815c1fdf4006982de  IO-stringy-2.110.tar.gz




More information about the fedora-extras-commits mailing list