[perl-local-lib] rebase append-semicolon patch

Iain Arnell iarnell at fedoraproject.org
Fri Apr 19 15:02:04 UTC 2013


commit 03f3e278a59ff950ff40a724bd7189dd83357a26
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Apr 19 09:01:52 2013 -0600

    rebase append-semicolon patch

 ...l-lib-1.008004-Append-semicolon-to-setenv.patch |   27 --------------------
 ...l-lib-1.008009-Append-semicolon-to-setenv.patch |   12 +++++++++
 perl-local-lib.spec                                |    7 +++-
 3 files changed, 17 insertions(+), 29 deletions(-)
---
diff --git a/local-lib-1.008009-Append-semicolon-to-setenv.patch b/local-lib-1.008009-Append-semicolon-to-setenv.patch
new file mode 100644
index 0000000..6462020
--- /dev/null
+++ b/local-lib-1.008009-Append-semicolon-to-setenv.patch
@@ -0,0 +1,12 @@
+diff -up local-lib-1.008009/lib/local/lib.pm.orig local-lib-1.008009/lib/local/lib.pm
+--- local-lib-1.008009/lib/local/lib.pm.orig	2013-02-24 20:37:08.000000000 -0700
++++ local-lib-1.008009/lib/local/lib.pm	2013-04-19 08:58:58.161710254 -0600
+@@ -343,7 +343,7 @@ sub build_bourne_env_declaration {
+ sub build_csh_env_declaration {
+   my $class = shift;
+   my($name, $value) = @_;
+-  return defined($value) ? qq{setenv ${name} "${value}"\n} : qq{unsetenv ${name}\n};
++  return defined($value) ? qq{setenv ${name} "${value}";\n} : qq{unsetenv ${name};\n};
+ }
+ 
+ sub build_win32_env_declaration {
diff --git a/perl-local-lib.spec b/perl-local-lib.spec
index 6abae7d..0c20ee0 100644
--- a/perl-local-lib.spec
+++ b/perl-local-lib.spec
@@ -1,13 +1,13 @@
 Name:       perl-local-lib
 Version:    1.008009
-Release:    1%{?dist}
+Release:    2%{?dist}
 # lib/local/lib.pm -> GPL+ or Artistic
 License:    GPL+ or Artistic
 Group:      Development/Libraries
 Summary:    Create and use a local lib/ for perl modules
 Source:     http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/local-lib-%{version}.tar.gz
 # Allow evaluation in CSH, RHBZ #849609, CPAN RT #60072
-Patch0:     local-lib-1.008004-Append-semicolon-to-setenv.patch
+Patch0:     local-lib-1.008009-Append-semicolon-to-setenv.patch
 Url:        http://search.cpan.org/dist/local-lib
 Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 BuildArch:  noarch
@@ -91,6 +91,9 @@ make test
 %{_sysconfdir}/profile.d/*
 
 %changelog
+* Fri Apr 19 2013 Iain Arnell <iarnell at gmail.com> 1.008009-2
+- rebase append-semicolon patch
+
 * Fri Mar 08 2013 Iain Arnell <iarnell at gmail.com> 1.008009-1
 - update to latest upstream version
 



More information about the perl-devel mailing list