From f367e4b703923e83fa67ae5f9513ed925348f5cf Mon Sep 17 00:00:00 2001 From: Petr Bokoc Date: Oct 25 2018 20:11:37 +0000 Subject: [PATCH 1/2] 126 - true noarch Erlang packages --- diff --git a/modules/release-notes/pages/developers/Development_Erlang.adoc b/modules/release-notes/pages/developers/Development_Erlang.adoc index a70f497..0532369 100644 --- a/modules/release-notes/pages/developers/Development_Erlang.adoc +++ b/modules/release-notes/pages/developers/Development_Erlang.adoc @@ -3,3 +3,10 @@ include::{partialsdir}/entities.adoc[] [[sect-erlang]] = Erlang + +== True noarch Erlang packages + +Prior to this release, Erlang packages were being installed into [filename]`%{_libdir}/erlang/lib` (which resolves to, for example, [filename]`/usr/lib64/erlang/lib` on x86_64). +This makes them compiled "archful" despite most of them being Erlang and therefore noarch, which means they must be built and stored separately for each architecture and causes unnecessarily long build times and uses additional storage in Koji and on distribution mirrors. + +The Erlang VM that ships in Fedora 29 is modified to also search [filename]`%{_datadir}/erlang/lib` (which resolves to, for example, [filename]`/usr/share/erlang/lib` on x86_64) in addition to the previously used directory when searching for dependencies, and build macros are updated to automatically use the new path to install noarch packages. "Archful" packages will continue to install in the old directory. From 800cf3edf497ed18d87c1e6d14f238585937576d Mon Sep 17 00:00:00 2001 From: Petr Bokoc Date: Oct 25 2018 20:12:57 +0000 Subject: [PATCH 2/2] Fix formatting in Erlang --- diff --git a/modules/release-notes/pages/developers/Development_Erlang.adoc b/modules/release-notes/pages/developers/Development_Erlang.adoc index 0532369..d9ae8b9 100644 --- a/modules/release-notes/pages/developers/Development_Erlang.adoc +++ b/modules/release-notes/pages/developers/Development_Erlang.adoc @@ -7,6 +7,8 @@ include::{partialsdir}/entities.adoc[] == True noarch Erlang packages Prior to this release, Erlang packages were being installed into [filename]`%{_libdir}/erlang/lib` (which resolves to, for example, [filename]`/usr/lib64/erlang/lib` on x86_64). -This makes them compiled "archful" despite most of them being Erlang and therefore noarch, which means they must be built and stored separately for each architecture and causes unnecessarily long build times and uses additional storage in Koji and on distribution mirrors. +This makes them compiled "archful" despite most of them being Erlang and therefore noarch. +Therefore they must be built and stored separately for each architecture and causes unnecessarily long build times and uses additional storage in Koji and on distribution mirrors. -The Erlang VM that ships in Fedora 29 is modified to also search [filename]`%{_datadir}/erlang/lib` (which resolves to, for example, [filename]`/usr/share/erlang/lib` on x86_64) in addition to the previously used directory when searching for dependencies, and build macros are updated to automatically use the new path to install noarch packages. "Archful" packages will continue to install in the old directory. +The Erlang VM that ships in Fedora 29 is modified to also search [filename]`%{_datadir}/erlang/lib` (which resolves to, for example, [filename]`/usr/share/erlang/lib` on x86_64) in addition to the previously used directory when searching for dependencies, and build macros are updated to automatically use the new path to install noarch packages. +"Archful" packages will continue to install in the old directory.