tarantoolapp
tarantoolapp copied to clipboard
libraries are not enough after creating the package rpm
Hello!
I created application with template basic. Edited meta.yaml with content:
name: reds
version: scm-1
deps:
- https://raw.githubusercontent.com/moonlibs/config/master/config-scm-1.rockspec
- https://raw.githubusercontent.com/moonlibs/package-reload/master/package.reload-scm-1.rockspec
- inspect
tntdeps:
- metrics
- http
- avro-schema
- expirationd
In rpm/reds.spec for create rpm(first steps) changed string
tarantool dep.lua --meta-file ./meta.yaml --tree ./%{name}-%{version}-%{release}-rocks
to
tarantoolapp dep --meta-file ./meta.yaml --tree ./%{name}-%{version}-%{release}-rocks
After creating a package, several libraries(rocks) are missing part output after run (make rpm)
[reds] Installing dep 'inspect'
[reds] luarocks --server=https://luarocks.org --server=http://rocks.tarantool.org install inspect --tree=/root/rpmbuild/BUILD/reds/reds-scm-20200221.0950-rocks...
Installing https://luarocks.org/inspect-3.1.1-0.src.rock...
Using https://luarocks.org/inspect-3.1.1-0.src.rock... switching to 'build' mode
Updating manifest for /root/rpmbuild/BUILD/reds/reds-scm-20200221.0950-rocks/lib64/luarocks/rocks
inspect 3.1.1-0 is now built and installed in /root/rpmbuild/BUILD/reds/reds-scm-20200221.0950-rocks (license: MIT <http://opensource.org/licenses/MIT>)
[reds] Installed dep 'inspect'
[reds] Installing tarantool dep 'metrics'
[reds] tarantoolctl rocks --server=https://luarocks.org --server=http://rocks.tarantool.org install metrics...
Installing http://rocks.tarantool.org/metrics-scm-1.rockspec
Cloning into 'metrics'...
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 51 (delta 1), reused 29 (delta 1), pack-reused 0
Receiving objects: 100% (51/51), 22.64 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1/1), done.
metrics scm-1 is now installed in /root/rpmbuild/BUILD/reds/.rocks (license: BSD)
[reds] Installed tarantool dep 'metrics'
Library installation paths are different
This problem after my edition(into spec or meta.yaml) or not ?