Skip to content

Commit

Permalink
match package metadata with original esl-erlang package
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Newson committed Jun 10, 2021
1 parent 83a26ef commit fc29c06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Dockerfile_erlang_centos
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ RUN fpm -s dir -t rpm \
--category interpreters \
--description "Concurrent, real-time, distributed functional language" \
--url "https://erlang-solutions.com" \
--provides erlang \
--provides "erlang = ${erlang_version}-${erlang_iteration}" \
--provides "erlang-erts = ${erlang_version}-${erlang_iteration}" \
--provides "erlang-inets = ${erlang_version}-${erlang_iteration}" \
.

# Test it
Expand Down
7 changes: 5 additions & 2 deletions Dockerfile_erlang_debian
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,11 @@ RUN fpm -s dir -t deb \
--depends 'procps, libc6, libncurses5, libssl1.0.0 | libssl1.0.2 | libssl1.1, libsctp1' \
--deb-recommends 'libwxbase2.8-0 | libwxbase3.0-0 | libwxbase3.0-0v5, libwxgtk2.8-0 | libwxgtk3.0-0 | libwxgtk3.0-0v5 | libwxgtk3.0-gtk3-0v5' \
--deb-suggests 'default-jre-headless | java2-runtime-headless | java1-runtime-headless | java2-runtime | java1-runtime' \
--conflicts 'erlang-base-hipe, erlang-base, erlang-dev, erlang-appmon, erlang-asn1, erlang-common-test, erlang-corba, erlang-crypto, erlang-debugger, erlang-dialyzer, erlang-docbuilder, erlang-edoc, erlang-erl-docgen, erlang-et, erlang-eunit, erlang-gs, erlang-ic, erlang-inets, erlang-inviso, erlang-megaco, erlang-mnesia, erlang-observer, erlang-odbc, erlang-os-mon, erlang-parsetools, erlang-percept, erlang-pman, erlang-public-key, erlang-reltool, erlang-runtime-tools, erlang-snmp, erlang-ssh, erlang-ssl, erlang-syntax-tools, erlang-test-server, erlang-toolbar, erlang-tools, erlang-tv, erlang-typer, erlang-webtool, erlang-wx, erlang-xmerl, erlang-src' \
--replaces 'erlang-base-hipe, erlang-base, erlang-dev, erlang-appmon, erlang-asn1, erlang-common-test, erlang-corba, erlang-crypto, erlang-debugger, erlang-dialyzer, erlang-docbuilder, erlang-edoc, erlang-erl-docgen, erlang-et, erlang-eunit, erlang-gs, erlang-ic, erlang-inets, erlang-inviso, erlang-megaco, erlang-mnesia, erlang-observer, erlang-odbc, erlang-os-mon, erlang-parsetools, erlang-percept, erlang-pman, erlang-public-key, erlang-reltool, erlang-runtime-tools, erlang-snmp, erlang-ssh, erlang-ssl, erlang-syntax-tools, erlang-test-server, erlang-toolbar, erlang-tools, erlang-tv, erlang-typer, erlang-webtool, erlang-wx, erlang-xmerl, erlang-src' \
$(for pkg in erlang-base-hipe erlang-base erlang-dev erlang-appmon erlang-asn1 erlang-common-test erlang-corba erlang-crypto erlang-debugger erlang-dialyzer erlang-docbuilder erlang-edoc erlang-erl-docgen erlang-et erlang-eunit erlang-gs erlang-ic erlang-inets erlang-inviso erlang-megaco erlang-mnesia erlang-observer erlang-odbc erlang-os-mon erlang-parsetools erlang-percept erlang-pman erlang-public-key erlang-reltool erlang-runtime-tools erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-test-server erlang-toolbar erlang-tools erlang-tv erlang-typer erlang-webtool erlang-wx erlang-xmerl; do \
echo "--conflicts $pkg"; \
echo "--replaces $pkg"; \
echo "--provides $pkg"; \
done) \
.

# Test it
Expand Down

0 comments on commit fc29c06

Please sign in to comment.