[perl-Dist-Zilla] install bash_completion script

Iain Arnell iarnell at fedoraproject.org
Tue Dec 14 04:42:23 UTC 2010


commit 4fc328ea555fe55a6dc4b0a17e2568eef6a0e781
Author: Iain Arnell <iarnell at gmail.com>
Date:   Tue Dec 14 05:31:31 2010 +0100

    install bash_completion script

 perl-Dist-Zilla.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/perl-Dist-Zilla.spec b/perl-Dist-Zilla.spec
index 6c2389f..72f5f19 100644
--- a/perl-Dist-Zilla.spec
+++ b/perl-Dist-Zilla.spec
@@ -114,6 +114,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
+# install bash_completion script
+install -D -m 0644 misc/dzil-bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/dzil
+
 %check
 make test
 
@@ -124,10 +127,12 @@ make test
 %{_bindir}/dzil
 %{_mandir}/man1/*
 %{_mandir}/man3/*
+%{_sysconfdir}/bash_completion.d
 
 %changelog
 * Tue Dec 14 2010 Iain Arnell <iarnell at gmail.com> 4.200000-1
 - update to latest upstream version
+- install bash_completion script
 
 * Sat Nov 20 2010 Iain Arnell <iarnell at gmail.com> 4.102344-1
 - update to latest upstream version



More information about the perl-devel mailing list