[ocaml-easy-format] Optimize libname calculation
Michel Alexandre Salim
salimma at fedoraproject.org
Sun Jan 26 12:59:59 UTC 2014
commit 2a66b2940ab174ba6720a3428c5925abdcb66f21
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date: Sun Jan 26 20:00:05 2014 +0700
Optimize libname calculation
ocaml-easy-format.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ocaml-easy-format.spec b/ocaml-easy-format.spec
index c9f5553..80eefd6 100644
--- a/ocaml-easy-format.spec
+++ b/ocaml-easy-format.spec
@@ -18,7 +18,7 @@ BuildRequires: ocaml >= 3.10.0
BuildRequires: ocaml-findlib
BuildRequires: ocaml-ocamldoc
-%global libname %(echo %{name} | sed -e 's/^ocaml-//')
+%global libname %(sed -e 's/^ocaml-//' <<< %{name})
%description
This module offers a high-level and functional interface to the Format
More information about the scm-commits
mailing list