rpms/perl-FileHandle-Unget/devel perl-FileHandle-Unget.spec, 1.3, 1.4

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Mar 8 14:41:06 UTC 2007


Author: pghmcfc

Update of /cvs/extras/rpms/perl-FileHandle-Unget/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv999

Modified Files:
	perl-FileHandle-Unget.spec 
Log Message:
Buildrequire perl-devel for Fedora 7 onwards


Index: perl-FileHandle-Unget.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-FileHandle-Unget/devel/perl-FileHandle-Unget.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-FileHandle-Unget.spec	29 Aug 2006 17:28:13 -0000	1.3
+++ perl-FileHandle-Unget.spec	8 Mar 2007 14:40:34 -0000	1.4
@@ -7,7 +7,7 @@
 Summary:	A FileHandle that supports ungetting of multiple bytes
 Name:		perl-FileHandle-Unget
 Version:	0.1621
-Release:	3%{?dist}
+Release:	4%{?dist}
 License:	GPL
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/FileHandle-Unget
@@ -16,6 +16,9 @@
 BuildArch:	noarch
 BuildRequires:	perl(Scalar::Util) >= 1.14
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%if 0%{?fedora} > 6
+BuildRequires:	perl-devel
+%endif
 
 %description
 FileHandle::Unget is a drop-in replacement for FileHandle that allows more
@@ -37,7 +40,7 @@
 %{__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 ';'
+/usr/bin/find %{buildroot} -depth -type d -exec %{__rmdir} {} 2>/dev/null ';'
 %{__chmod} -R u+w %{buildroot}/*
 
 %check
@@ -47,12 +50,16 @@
 %{__rm} -rf %{buildroot}
 
 %files
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
 %doc README CHANGES LICENSE
 %{perl_vendorlib}/FileHandle/
 %{_mandir}/man3/FileHandle::Unget.3pm*
 
 %changelog
+* Thu Mar  8 2007 Paul Howarth <paul at city-fan.org> 0.1621-4
+- Buildrequire perl-devel for Fedora 7 onwards
+- Fix argument order for find with -depth
+
 * Tue Aug 29 2006 Paul Howarth <paul at city-fan.org> 0.1621-3
 - FE6 mass rebuild
 




More information about the fedora-extras-commits mailing list