Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 0110584

Browse files
committed
Minor and preferential RPM spec changes
1 parent 10a54e8 commit 0110584

File tree

5 files changed

+31
-27
lines changed

5 files changed

+31
-27
lines changed

.travis.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ script:
2727
- git describe --long
2828
- |
2929
if [ -n "${OS}" ]; then
30-
git clone https://github.com/packpack/packpack.git
31-
packpack/packpack
30+
git submodule update --recursive --init
31+
./3rd_party/packpack/packpack
3232
else
3333
./tools/ubuntu.trusty.test.sh
34-
fi;
34+
fi
35+
3536
before_deploy:
3637
- ls -l build/
3738

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -374,18 +374,19 @@ make test
374374
* For use:
375375
* tarantool,
376376
* lulpeg,
377-
* >=tarantool/avro-schema-2.0-71-gfea0ead,
378-
* >=tarantool/shard-1.1-91-gfa88bf8 (but < 2.0) or
379-
>=tarantool/shard-2.1-0-g0a7d98f (optional),
377+
* \>=tarantool/avro-schema-2.0-71-gfea0ead,
378+
* \>=tarantool/shard-1.1-91-gfa88bf8 (but < 2.0) or
379+
\>=tarantool/shard-2.1-0-g0a7d98f (optional),
380380
* lrexlib-pcre2 or lrexlib-pcre (optional),
381381
* tarantool/http (optional, for GraphiQL).
382382
* For test (additionally to 'for use'):
383383
* python 2.7,
384384
* virtualenv,
385385
* luacheck,
386-
* >=tarantool/avro-schema-2.2.2-4-g1145e3e,
387-
* >=tarantool/shard-1.1-92-gec1a27e (but < 2.0) or
388-
>=tarantool/shard-2.1-0-g0a7d98f,
386+
* \>=tarantool/avro-schema-2.2.2-4-g1145e3e,
387+
* \>=tarantool/shard-1.1-92-gec1a27e (but < 2.0) or
388+
\>=tarantool/shard-2.1-0-g0a7d98f,
389+
* lrexlib-pcre2 or lrexlib-pcre,
389390
* tarantool/http.
390391
* For building apidoc (additionally to 'for use'):
391392
* ldoc.

rpm/prebuild-el-6.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
set -exu # Strict shell (w/o -o pipefail)
44

55
sudo yum -y install https://centos6.iuscommunity.org/ius-release.rpm
6-
sudo yum -y install python27
7-
sudo yum -y install python27-devel
6+
sudo yum -y install python27 python27-devel

rpm/tarantool-graphql.spec

+12-11
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,27 @@ Source0: https://github.com/tarantool/graphql/archive/%{version}/graphql-%{versi
1313
BuildArch: noarch
1414

1515
# Dependencies for `make test`
16-
BuildRequires: tarantool >= 1.9.0.0
17-
BuildRequires: tarantool-avro-schema >= 2.2.2.4
18-
BuildRequires: tarantool-shard >= 2.1.0
19-
BuildRequires: tarantool-http
2016
BuildRequires: python-virtualenv
2117
BuildRequires: tarantool-luacheck
18+
BuildRequires: tarantool >= 1.9.0.0
2219
BuildRequires: tarantool-lulpeg
20+
BuildRequires: tarantool-avro-schema >= 2.2.2.4
21+
BuildRequires: tarantool-shard >= 1.1.92
2322
BuildRequires: tarantool-lrexlib-pcre2
23+
BuildRequires: tarantool-http
24+
25+
# Weak references are not supported in RHEL / CentOS.
26+
#
27+
# https://fedoraproject.org/wiki/Packaging:WeakDependencies
28+
# https://bugzilla.redhat.com/show_bug.cgi?id=91458
29+
# https://bugzilla.redhat.com/show_bug.cgi?id=1427674
2430

2531
# Dependencies for a user
2632
Requires: tarantool >= 1.9.0.0
27-
Requires: tarantool-avro-schema >= 2.0.71
2833
Requires: tarantool-lulpeg
29-
# Dependencies below are not mandatory, they extend tarantool-graphql
30-
# functionality. Currently we build packages for distros which do not have
31-
# package manager versions which supports Suggests tag. We left section
32-
# below commented till all actual distros will have necessary package manager
33-
# versions.
34+
Requires: tarantool-avro-schema >= 2.0.71
35+
#Suggests: tarantool-shard >= 1.1.91
3436
#Suggests: tarantool-lrexlib-pcre2
35-
#Suggests: tarantool-shard >= 2.1.0
3637
#Suggests: tarantool-http
3738

3839
%description

tools/ubuntu.trusty.test.sh

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#!/usr/bin/env bash
1+
#!/bin/sh
22

3-
set -euxo pipefail # Strict shell
3+
set -exu # Strict shell (w/o -o pipefail)
44

55
sudo apt-get -qq update
66
curl http://download.tarantool.org/tarantool/1.9/gpgkey | \
@@ -18,14 +18,16 @@ echo "deb-src http://download.tarantool.org/tarantool/1.9/ubuntu/ ${release} mai
1818
sudo tee -a /etc/apt/sources.list.d/tarantool_1_9.list
1919

2020
sudo apt-get update
21-
sudo apt-get -y install tarantool tarantool-dev libmsgpuck-dev
22-
git submodule update --recursive --init
21+
sudo apt-get -y install tarantool tarantool-dev libmsgpuck-dev luarocks
22+
2323
tarantoolctl rocks install lulpeg
2424
tarantoolctl rocks install lrexlib-pcre
2525
tarantoolctl rocks install http
2626
tarantoolctl rocks install shard "${SHARD_VERSION}"
2727
tarantoolctl rocks install avro-schema "${AVRO_SCHEMA}"
28-
sudo apt-get install luarocks
28+
2929
sudo luarocks install luacheck
3030
sudo pip install virtualenv
31+
32+
git submodule update --recursive --init
3133
make test

0 commit comments

Comments
 (0)