From f52c6cb595155fe59479a59a106628421c5f1c0b Mon Sep 17 00:00:00 2001
From: bigbes <bigbes@gmail.com>
Date: Wed, 25 Jun 2014 10:53:00 -0400
Subject: [PATCH] Fix scl_runtime name

t chec  # On branch stable
---
 extra/rpm/tarantool.rpm.spec.in | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/extra/rpm/tarantool.rpm.spec.in b/extra/rpm/tarantool.rpm.spec.in
index 4852ba7bc2..974582a673 100644
--- a/extra/rpm/tarantool.rpm.spec.in
+++ b/extra/rpm/tarantool.rpm.spec.in
@@ -1,7 +1,9 @@
 ####################################################
 ################# MACROS AND DEFAULTS ##############
 ####################################################
+
 %{?scl:%{?scl_package:%scl_package tarantool}}
+%global scl_runtime tarantool-15-runtime
 
 %define _source_filedigest_algorithm 0
 %define _binary_filedigest_algorithm 0
@@ -10,9 +12,6 @@
 %bcond_without mysql
 %bcond_without client
 
-BuildRequires: scl-utils
-BuildRequires: scl-utils-build
-
 %if 0%{?rhel} < 7 && 0%{?rhel} > 0
 BuildRequires: cmake28
 BuildRequires: devtoolset-2-toolchain
@@ -57,7 +56,7 @@ scripts.
 Summary: Tarantool C connector and header files
 Vendor: tarantool.org
 Group: Applications/Databases
-%description -n %{?scl_prefix}tarantool-dev
+%description dev
 Tarantool is a high performance in-memory NoSQL database.
 It supports replication, online backup, stored procedures in Lua.
 
@@ -68,7 +67,7 @@ This package provides Tarantool client libraries.
 Summary: Tarantool sophia bindings
 Vendor: tarantool.org
 Group: Applications/Databases
-%description -n %{?scl_prefix}tarantool-sophia-module
+%description sophia-module
 Tarantool is a high performance in-memory NoSQL database.
 It supports replication, online backup, stored procedures in Lua.
 
@@ -80,7 +79,7 @@ sophia database.
 Summary: Tarantool common sql interface
 Vendor: tarantool.org
 Group: Applications/Databases
-%description -n %{?scl_prefix}tarantool-sql-module
+%description sql-module
 Tarantool is a high performance in-memory NoSQL database.
 It supports replication, online backup, stored procedures in Lua.
 
@@ -95,7 +94,7 @@ Group: Applications/Databases
 Provides: %{?scl_prefix}tarantool-pg-module
 BuildRequires: postgresql-devel >= 9.0
 Requires: postgresql-libs >= 9.0
-%description -n %{?scl_prefix}tarantool-pg-module
+%description pg-module
 Tarantool is a high performance in-memory NoSQL database.
 It supports replication, online backup, stored procedures in Lua.
 
@@ -111,7 +110,7 @@ Group: Applications/Databases
 Provides: %{?scl_prefix}tarantool-mysql-module
 BuildRequires: mysql-devel >= 5.0
 Requires: mysql-libs >= 5.0
-%description -n %{?scl_prefix}tarantool-mysql-module
+%description mysql-module
 Tarantool is a high performance in-memory NoSQL database.
 It supports replication, online backup, stored procedures in Lua.
 
@@ -127,7 +126,7 @@ Vendor: tarantool.org
 Group: Applications/Databases
 BuildRequires: readline-devel
 Requires: readline
-%description -n %{?scl_prefix}tarantool-client
+%description client
 Tarantool is a high performance in-memory NoSQL database.
 It supports replication, online backup, stored procedures in Lua.
 
-- 
GitLab