[perl-local-lib] Do not hard-code /usr/bin

Petr Pisar ppisar at fedoraproject.org
Thu Jan 15 12:18:12 UTC 2015


commit 041624928c3859fc04f457791eb1df0c1a53f110
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Jan 15 13:18:16 2015 +0100

    Do not hard-code /usr/bin

 perl-local-lib.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/perl-local-lib.spec b/perl-local-lib.spec
index bf44fc7..cfb8697 100644
--- a/perl-local-lib.spec
+++ b/perl-local-lib.spec
@@ -1,6 +1,6 @@
 Name:           perl-local-lib
 Version:        2.000015
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Summary:        Create and use a local lib/ for perl modules
@@ -61,7 +61,7 @@ License:    GPL+ or Artistic
 Group:      Development/Libraries
 Summary:    Per-user Perl local::lib setup
 Requires:   %{name} = %{version}-%{release}
-Requires:   /usr/bin/cpan
+Requires:   %{_bindir}/cpan
 Requires:   /bin/sed
 
 %description -n perl-homedir
@@ -99,6 +99,9 @@ make test
 %{_sysconfdir}/profile.d/*
 
 %changelog
+* Thu Jan 15 2015 Petr Pisar <ppisar at redhat.com> - 2.000015-2
+- Do not hard-code /usr/bin
+
 * Wed Dec 17 2014 Petr Šabata <contyk at redhat.com> - 2.000015-1
 - 2.000015 bump
 



More information about the perl-devel mailing list