rpms/perl-IO-stringy/FC-4 perl-IO-stringy.spec,1.9,1.10

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Sun Sep 17 09:03:12 UTC 2006


Author: pghmcfc

Update of /cvs/extras/rpms/perl-IO-stringy/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1985

Modified Files:
	perl-IO-stringy.spec 
Log Message:
resync with devel



Index: perl-IO-stringy.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-IO-stringy/FC-4/perl-IO-stringy.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- perl-IO-stringy.spec	6 Apr 2005 22:12:46 -0000	1.9
+++ perl-IO-stringy.spec	17 Sep 2006 09:03:12 -0000	1.10
@@ -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:	Artistic
+Release:	4%{?dist}
+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} -depth -type d -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,17 @@
 %{perl_vendorlib}/IO/
 %{_mandir}/man3/IO::*.3pm*
 
-
 %changelog
+* Sun Sep 17 2006 Paul Howarth <paul at city-fan.org> 2.110-4
+- add dist tag
+- fix argument order in find command with -depth
+
+* Tue Aug 29 2006 Paul Howarth <paul at city-fan.org> 2.110-3
+- 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
 




More information about the scm-commits mailing list