aalvarez pushed to gfal2 (f21). "Fixing build in rawhide"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 16 14:20:22 UTC 2015


>From 8ddf0571b94a134251ea35652f55e3e468ef5244 Mon Sep 17 00:00:00 2001
From: Alejandro Alvarez Ayllon <aalvarez at cern.ch>
Date: Thu, 16 Apr 2015 16:11:21 +0200
Subject: Fixing build in rawhide


diff --git a/gfal2-version.patch b/gfal2-version.patch
new file mode 100644
index 0000000..1b7d640
--- /dev/null
+++ b/gfal2-version.patch
@@ -0,0 +1,14 @@
+diff --git a/src/core/common/gfal_common_plugin_interface.h b/src/core/common/gfal_common_plugin_interface.h
+index 24e7b9e..28598ea 100644
+--- a/src/core/common/gfal_common_plugin_interface.h
++++ b/src/core/common/gfal_common_plugin_interface.h
+@@ -45,7 +45,7 @@ extern "C"
+ /*
+  * Helper for the versioned plugin names
+  */
+-#define GFAL2_PLUGIN_VERSIONED(plugin, version) plugin"-"version
++#define GFAL2_PLUGIN_VERSIONED(plugin, version) plugin "-" version
+ 
+ /**
+   classical data access plugin
+
diff --git a/gfal2.spec b/gfal2.spec
index e481e03..4bb8f60 100644
--- a/gfal2.spec
+++ b/gfal2.spec
@@ -18,6 +18,7 @@ URL:                http://dmc.web.cern.ch/projects/gfal-2/home
 # popd
 # tar czf gfal2-2.9.1.tar.gz gfal2-2.9.1
 Source0:            %{name}-%{version}.tar.gz
+Patch0:             %{name}-version.patch
 BuildRoot:          %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 #main lib dependencies
@@ -203,6 +204,7 @@ make clean
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %cmake \
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/gfal2.git/commit/?h=f21&id=8ddf0571b94a134251ea35652f55e3e468ef5244


More information about the scm-commits mailing list