[perl-Mail-IMAPClient] Fix docfile dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 7b3b6078187dbcbfaf8e06109edbc9956bb353c5
Author: Paul Howarth <paul@xxxxxxxxxxxx>
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@xxxxxxxxxxxx> - 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@xxxxxxxxxx> - 3.25-1
 - update to 3.25
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux