rpms/perl-MIME-tools/devel perl-MIME-tools.spec,1.14,1.15

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Mar 8 16:31:25 UTC 2007


Author: pghmcfc

Update of /cvs/extras/rpms/perl-MIME-tools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9680

Modified Files:
	perl-MIME-tools.spec 
Log Message:
Buildrequire perl-devel for Fedora 7 onwards


Index: perl-MIME-tools.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-MIME-tools/devel/perl-MIME-tools.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- perl-MIME-tools.spec	8 Aug 2006 15:12:52 -0000	1.14
+++ perl-MIME-tools.spec	8 Mar 2007 16:30:53 -0000	1.15
@@ -1,18 +1,21 @@
-Name:           perl-MIME-tools
-Version:        5.420
-Release:        2%{?dist}
-Summary:        Modules for parsing and creating MIME entities in Perl
-Group:          Development/Libraries
-License:        Artistic or GPL
-URL:            http://search.cpan.org/dist/MIME-tools/
-Source0:        http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/MIME-tools-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:      noarch
-BuildRequires:  perl(IO::Stringy)       >= 1.211
-BuildRequires:  perl(MIME::Base64)      >= 2.20
-BuildRequires:  perl-MailTools          >= 1.50
-BuildRequires:  perl(MIME::QuotedPrint)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Name:		perl-MIME-tools
+Version:	5.420
+Release:	3%{?dist}
+Summary:	Modules for parsing and creating MIME entities in Perl
+Group:		Development/Libraries
+License:	Artistic or GPL
+URL:		http://search.cpan.org/dist/MIME-tools/
+Source0:	http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/MIME-tools-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:	noarch
+BuildRequires:	perl(IO::Stringy)	>= 1.211
+BuildRequires:	perl(MIME::Base64)	>= 2.20
+BuildRequires:	perl-MailTools		>= 1.50
+BuildRequires:	perl(MIME::QuotedPrint)
+%if 0%{?fedora} > 6
+BuildRequires:	perl-devel
+%endif
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 MIME-tools is a collection of Perl5 MIME:: modules for parsing, decoding, and
@@ -43,7 +46,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 /bin/rmdir {} 2>/dev/null ';'
+/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
 %{__chmod} -R u+w %{buildroot}/*
 
 # Put the more useful examples in %{_bindir}
@@ -52,24 +55,24 @@
 cd useful-examples
 for ex in mime*
 do
-  %{__install} -p -m 755 ${ex} %{buildroot}%{_bindir}/
-  /usr/bin/pod2man ${ex} > %{buildroot}%{_mandir}/man1/${ex}.1
+	%{__install} -p -m 755 ${ex} %{buildroot}%{_bindir}/
+	/usr/bin/pod2man ${ex} > %{buildroot}%{_mandir}/man1/${ex}.1
 done
 cd -
 
 %check
 if %{__perl} -e "use MIME::QuotedPrint 3.03" 2>/dev/null; then
-  %{__make} test
+	%{__make} test
 else
-  # Expected failures: 4, 5 and 7-11 of t/Misc.t
-  %{__make} test || :
+	# Expected failures: 4, 5 and 7-11 of t/Misc.t
+	%{__make} test || :
 fi
 
 %clean
 %{__rm} -rf %{buildroot}
 
 %files
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
 %doc README* COPYING ChangeLog
 # Adding examples introduces additional deps, but these are all satisfied by
 # perl, perl-MIME-tools, and perl-MailTools, which are all deps anyway.
@@ -80,6 +83,10 @@
 %{_mandir}/man3/MIME::*.3pm*
 
 %changelog
+* Thu Mar  8 2007 Paul Howarth <paul at city-fan.org> 5.420-3
+- Buildrequire perl-devel for Fedora 7 onwards
+- Fix argument order for find with -depth
+
 * Tue Aug  8 2006 Paul Howarth <paul at city-fan.org> 5.420-2
 - Install the more useful examples in %%{_bindir} (#201691)
 




More information about the scm-commits mailing list