rpms/perl-MIME-tools/FC-3 perl-MIME-tools.spec, 1.6, 1.7 sources, 1.3, 1.4 .cvsignore, 1.3, 1.4
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Wed Apr 19 16:02:31 UTC 2006
- Previous message (by thread): rpms/perl-MIME-tools/FC-4 perl-MIME-tools.spec, 1.10, 1.11 sources, 1.4, 1.5 .cvsignore, 1.4, 1.5
- Next message (by thread): rpms/octave/devel octave-2.9.5-config.patch, NONE, 1.1 octave.spec, 1.36, 1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pghmcfc
Update of /cvs/extras/rpms/perl-MIME-tools/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19688
Modified Files:
perl-MIME-tools.spec sources .cvsignore
Log Message:
resync with devel
Index: perl-MIME-tools.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-MIME-tools/FC-3/perl-MIME-tools.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- perl-MIME-tools.spec 22 Jan 2005 11:53:15 -0000 1.6
+++ perl-MIME-tools.spec 19 Apr 2006 16:02:29 -0000 1.7
@@ -1,70 +1,88 @@
-%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
-
Name: perl-MIME-tools
-Version: 5.417
-Release: 1
-Epoch: 0
+Version: 5.420
+Release: 1%{?dist}
Summary: Modules for parsing and creating MIME entities in Perl
-
Group: Development/Libraries
-License: Artistic
+License: Artistic or GPL
URL: http://search.cpan.org/dist/MIME-tools/
-Source0: http://www.cpan.org/authors/id/D/DS/DSKOLL/MIME-tools-5.417.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-broot-%(%{__id_u} -n)
-
+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) perl(MIME::Base64) >= 2.20 perl-MailTools
-BuildRequires: perl >= 1:5.6.1 perl(MIME::QuotedPrint)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+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))
%description
-MIME-tools is a collection of Perl5 MIME:: modules for parsing,
-decoding, *and generating* single- or multipart (even nested
-multipart) MIME messages. (Yes, kids, that means you can send messages
-with attached GIF files).
+MIME-tools is a collection of Perl5 MIME:: modules for parsing, decoding, and
+generating single- or multipart (even nested multipart) MIME messages.
+Yes, kids, that means you can send messages with attached GIF files.
%prep
%setup -q -n MIME-tools-%{version}
-chmod 644 examples/* # avoid dependencies
+# Fix character encoding
+/usr/bin/iconv -f iso-8859-1 -t utf-8 ChangeLog > ChangeLog.utf8
+%{__mv} ChangeLog.utf8 ChangeLog
+
+# Remove redundant provides
+%global provfilt /bin/sh -c "%{__perl_provides} | %{__grep} -Fvx 'perl(main)'"
+%define __perl_provides %{provfilt}
%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 ';'
-rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/set-version.pl
-chmod -R u+w $RPM_BUILD_ROOT/*
-
-
-%check || :
-if %{__perl} -MMIME::QuotedPrint \
- -e 'exit ($MIME::QuotedPrint::VERSION < 3.03)' ; then
- 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 /bin/rmdir {} 2>/dev/null ';'
+%{__chmod} -R u+w %{buildroot}/*
+
+%check
+if %{__perl} -e "use MIME::QuotedPrint 3.03" 2>/dev/null; then
+ %{__make} test
else
# Expected failures: 4, 5 and 7-11 of t/Misc.t
- make test || :
+ %{__make} test || :
fi
-
%clean
-rm -rf $RPM_BUILD_ROOT
-
+%{__rm} -rf %{buildroot}
%files
-%defattr(-,root,root,-)
-%doc ChangeLog COPYING README README-OR-DIE examples
-%{perl_vendorlib}/MIME
-%{_mandir}/man3/MIME::*.3*
-
+%defattr(-,root,root,0755)
+%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.
+%doc examples
+%{perl_vendorlib}/MIME/
+%{_mandir}/man3/MIME::*.3pm*
%changelog
+* Wed Apr 19 2006 Paul Howarth <paul at city-fan.org> - 5.420-1
+- 5.420
+- Cosmetic changes reflecting new maintainer's preferences
+- Examples remain executable since they don't introduce new dependencies
+- Simplify provides filter
+
+* Mon Jan 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 5.419-1
+- 5.419.
+- Don't provide perl(main).
+
+* Tue Oct 4 2005 Paul Howarth <paul at city-fan.org> - 5.418-2
+- License is same as perl (GPL or Artistic), not just Artistic
+
+* Mon Oct 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 5.418-1
+- 5.418.
+- Cosmetic specfile cleanups.
+
+* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 5.417-2
+- rebuilt
+
* Sat Jan 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:5.417-1
- Update to 5.417.
@@ -100,5 +118,5 @@
* Wed Jun 25 2003 Dams <anvil[AT]livna.org> 0:5.411-0.fdr.2.a
- Now using roaringpenguin tarball
-* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
+* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
- Initial build.
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-MIME-tools/FC-3/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 22 Jan 2005 11:53:15 -0000 1.3
+++ sources 19 Apr 2006 16:02:29 -0000 1.4
@@ -1 +1 @@
-a92299db8729f0f7886ada6e3539b265 MIME-tools-5.417.tar.gz
+4db6505cc0132c80c5a9cc54f443a21a MIME-tools-5.420.tar.gz
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-MIME-tools/FC-3/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 22 Jan 2005 11:53:15 -0000 1.3
+++ .cvsignore 19 Apr 2006 16:02:29 -0000 1.4
@@ -1 +1 @@
-MIME-tools-5.417.tar.gz
+MIME-tools-5.420.tar.gz
- Previous message (by thread): rpms/perl-MIME-tools/FC-4 perl-MIME-tools.spec, 1.10, 1.11 sources, 1.4, 1.5 .cvsignore, 1.4, 1.5
- Next message (by thread): rpms/octave/devel octave-2.9.5-config.patch, NONE, 1.1 octave.spec, 1.36, 1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list