[perl-Mail-IMAPClient] Fix docfile dependencies

Paul Howarth pghmcfc at fedoraproject.org
Sat Oct 2 09:05:39 UTC 2010


commit 7b3b6078187dbcbfaf8e06109edbc9956bb353c5
Author: Paul Howarth <paul at city-fan.org>
Date:   Sat Oct 2 10:04:42 2010 +0100

    Fix docfile dependencies
    
    - Turn off exec bits on examples to avoid docfile dependencies (#639523)
    - Fix character encoding in documentation

 perl-Mail-IMAPClient.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/perl-Mail-IMAPClient.spec b/perl-Mail-IMAPClient.spec
index 7f70f08..a220de1 100644
--- a/perl-Mail-IMAPClient.spec
+++ b/perl-Mail-IMAPClient.spec
@@ -1,6 +1,6 @@
 Name:           perl-Mail-IMAPClient
 Version:        3.25
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        An IMAP Client API
 Group:          Development/Libraries
 License:        GPL+ or Artistic
@@ -21,6 +21,13 @@ to and an IMAP conversation with an IMAP server.
 %setup -q -n Mail-IMAPClient-%{version}
 sed -i 's#/usr/local/bin/perl#/usr/bin/perl#' examples/*.pl
 
+# Turn off exec bits in examples to avoid docfile dependencies
+chmod -c -x examples/*.pl
+
+# Fix character encoding in documentation
+iconv -f iso-8859-1 -t utf-8 < Changes > Changes.utf8
+mv Changes.utf8 Changes
+
 %build
 # the extended tests cannot be run without an IMAP server
 yes n | %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -45,6 +52,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sat Oct  2 2010 Paul Howarth <paul at city-fan.org> - 3.25-2
+- turn off exec bits on examples to avoid docfile dependencies (#639523)
+- fix character encoding in documentation
+
 * Mon Jul 12 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 3.25-1
 - update to 3.25
 



More information about the perl-devel mailing list