[nordugrid-arc/el5] Fix problem with directory hierarchies during job retrieval
Mattias Ellert
ellert at fedoraproject.org
Sat Jun 16 08:26:50 UTC 2012
commit 3c2e7b82c09e7163df67d199a17162f599fc5803
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date: Sat Jun 16 10:16:20 2012 +0200
Fix problem with directory hierarchies during job retrieval
nordugrid-arc-recursive.patch | 12 ++++++++++++
nordugrid-arc.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/nordugrid-arc-recursive.patch b/nordugrid-arc-recursive.patch
new file mode 100644
index 0000000..5c81a8e
--- /dev/null
+++ b/nordugrid-arc-recursive.patch
@@ -0,0 +1,12 @@
+diff -ur nordugrid-arc-2.0.0.orig/src/hed/libs/client/Job.cpp nordugrid-arc-2.0.0/src/hed/libs/client/Job.cpp
+--- nordugrid-arc-2.0.0.orig/src/hed/libs/client/Job.cpp 2012-05-23 18:44:24.000000000 +0200
++++ nordugrid-arc-2.0.0/src/hed/libs/client/Job.cpp 2012-06-16 08:26:28.230051474 +0200
+@@ -636,7 +636,7 @@
+ URL tmpdir(dir);
+ tmpdir.ChangePath(path + i->GetName());
+
+- std::string dirname = i->GetName();
++ std::string dirname = prefix + i->GetName();
+ if (dirname[dirname.size() - 1] != '/') {
+ dirname += "/";
+ }
diff --git a/nordugrid-arc.spec b/nordugrid-arc.spec
index 956d7ef..d5ef294 100644
--- a/nordugrid-arc.spec
+++ b/nordugrid-arc.spec
@@ -54,7 +54,7 @@
Name: nordugrid-arc
Version: 2.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Advanced Resource Connector Grid Middleware
Group: System Environment/Daemons
License: ASL 2.0
@@ -63,6 +63,7 @@ Source: http://download.nordugrid.org/packages/%{name}/releases/%{version}/src/
Patch0: %{name}-unistd.patch
Patch1: %{name}-pypara.patch
Patch2: %{name}-xmlns.patch
+Patch3: %{name}-recursive.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Packages dropped without replacements
@@ -523,6 +524,7 @@ fetch-crl tool in the fetch-crl package.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%if %{?fedora}%{!?fedora:0} <= 9 && %{?rhel}%{!?rhel:0} <= 5
# Older versions of SELinux does not have policy for open
@@ -1161,6 +1163,9 @@ service fetch-crl-cron start > /dev/null 2>&1
%defattr(-,root,root,-)
%changelog
+* Sat Jun 16 2012 Mattias Ellert <mattias.ellert at fysast.uu.se> - 2.0.0-2
+- Fix problem with directory hierarchies during job retrieval
+
* Wed May 23 2012 Mattias Ellert <mattias.ellert at fysast.uu.se> - 2.0.0-1
- 2.0.0 Final Release
- Disable chelonia, hopi, isis and janitor
More information about the scm-commits
mailing list