[perl-Module-Manifest/el6] Fix sample script permissions in %prep rather than %install

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

 



commit 7b470c7cb3fa15ae4b9b7f855992a1075ddbddf5
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Mon Aug 8 13:23:40 2011 +0100

    Fix sample script permissions in %prep rather than %install

 perl-Module-Manifest.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/perl-Module-Manifest.spec b/perl-Module-Manifest.spec
index 81fcc45..72e77e7 100644
--- a/perl-Module-Manifest.spec
+++ b/perl-Module-Manifest.spec
@@ -1,6 +1,6 @@
 Name:           perl-Module-Manifest
 Version:        1.08
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Parse and examine a Perl distribution MANIFEST file
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -25,6 +25,9 @@ Module::Inspector.
 %prep
 %setup -q -n Module-Manifest-%{version}
 
+# Avoid doc-file dependencies by removing exec bits from sample script
+chmod -c -x examples/difference.pl
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -38,9 +41,6 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
-# Remove executable bit from %%doc files
-%{__chmod} 0644 examples/*
-
 
 %check
 make test
@@ -55,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Mon Aug  8 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 1.08-5
+- Fix sample script permissions in %%prep rather than %%install
+
 * Wed Jul 20 2011 Petr Sabata <contyk@xxxxxxxxxx> - 1.08-4
 - Perl mass rebuild
 
--
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