Accepting request 147366 from devel:languages:erlang

otp_src_R15B03.tar.gz has a lot of .beam files (which are compiled .erl), and they has been just repacked into rpms. we don't have any reasons not to trust Erlang/OTP maintainers, but it would be better to do clean and rebuild .beam from the sources.

- add make clean before build. it clears .beam files bundled with
  sources. our aim is to build everything from sources. (forwarded request 147242 from matwey)

OBS-URL: https://build.opensuse.org/request/show/147366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/erlang?expand=0&rev=12
This commit is contained in:
Stephan Kulow 2013-01-07 14:05:27 +00:00 committed by Git OBS Bridge
commit 4b22a9a195
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jan 5 19:39:43 UTC 2013 - matwey.kornilov@gmail.com
- add make clean before build. it clears .beam files bundled with
sources. our aim is to build everything from sources.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 3 23:31:33 UTC 2012 - mrueckert@suse.de Mon Dec 3 23:31:33 UTC 2012 - mrueckert@suse.de

View File

@ -220,6 +220,8 @@ export CXXFLAGS=$CFLAGS
--enable-kernel-poll \ --enable-kernel-poll \
--enable-hipe \ --enable-hipe \
--enable-shared-zlib --enable-shared-zlib
# clean stalled files before rebuild them
make %{?_smp_mflags} clean
# should work up to at least -j8 # should work up to at least -j8
make %{?_smp_mflags} make %{?_smp_mflags}