rpms/perl-IO-stringy/devel perl-IO-stringy.spec, 1.10, 1.11 needs.rebuild, 1.1, NONE

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Tue Aug 29 17:38:53 UTC 2006


Author: pghmcfc

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

Modified Files:
	perl-IO-stringy.spec 
Removed Files:
	needs.rebuild 
Log Message:
use search.cpan.org download URL
use full paths for all commands used in build
assume rpm knows about %%check and %%{perl_vendorlib}
cosmetic spec file changes



Index: perl-IO-stringy.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-IO-stringy/devel/perl-IO-stringy.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- perl-IO-stringy.spec	7 Jul 2005 12:00:25 -0000	1.10
+++ perl-IO-stringy.spec	29 Aug 2006 17:38:53 -0000	1.11
@@ -1,50 +1,38 @@
-%define		perl_vendorlib	%(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
-
-%define		tarname	IO-stringy
-
 Summary:	I/O on in-core objects like strings and arrays for Perl
-Name:		perl-%{tarname}
+Name:		perl-IO-stringy
 Version:	2.110
 Release:	2
-
 License:	GPL or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/IO-stringy/
-Source0:	http://www.cpan.org/authors/id/D/DS/DSKOLL/%{tarname}-%{version}.tar.gz
+Source0:	http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/IO-stringy-%{version}.tar.gz
 BuildArch:	noarch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
-
 %description
 This toolkit primarily provides Perl modules for performing both
-traditional and object-oriented i/o) on things *other* than normal
+traditional and object-oriented I/O) on things *other* than normal
 filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines.
 
-
 %prep
-%setup -q -n %{tarname}-%{version}
-
+%setup -q -n IO-stringy-%{version}
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
-
+%{__make} %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-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
+%{__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} -type d -depth -exec rmdir {} 2>/dev/null ';'
+%{__chmod} -R u+w %{buildroot}/*
 
+%check
+%{__make} test
 
 %clean
-rm -rf $RPM_BUILD_ROOT
-
+%{__rm} -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -52,8 +40,13 @@
 %{perl_vendorlib}/IO/
 %{_mandir}/man3/IO::*.3pm*
 
-
 %changelog
+* Tue Aug 29 2006 Paul Howarth <paul at city-fan.org> 2.110-2
+- use search.cpan.org download URL
+- use full paths for all commands used in build
+- assume rpm knows about %%check and %%{perl_vendorlib}
+- cosmetic spec file changes
+
 * Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
 - rebuilt
 


--- needs.rebuild DELETED ---




More information about the fedora-extras-commits mailing list