Accepting request 181010 from home:NicoK:branches:devel:languages:erlang

fix build with R16B01

OBS-URL: https://build.opensuse.org/request/show/181010
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-mini_s3?expand=0&rev=4
This commit is contained in:
2013-06-26 12:05:50 +00:00
committed by Git OBS Bridge
parent 6bc500b7f2
commit e02804af04
3 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 26 11:54:20 UTC 2013 - kruber@zib.de
- (temporarily) disable treating warnings as errors (new warnings
since R16B01) - no-werror.patch
-------------------------------------------------------------------
Wed Apr 24 08:27:31 UTC 2013 - nkrinner@suse.com

View File

@@ -25,6 +25,7 @@ Url: http://github.com/opscode/mini_s3/
Group: Development/Libraries/Other
Source: mini_s3-%{version}.tar.gz
Patch01: PATCH001-remove-dependencies-from-rebar.config-file.patch
Patch02: no-werror.patch
BuildRequires: erlang-rebar
Requires: erlang
BuildRequires: erlang-ibrowse
@@ -37,6 +38,7 @@ Minimal AWS S3 client for Erlang.
%prep
%setup -n mini_s3-%{version}
%patch01
%patch02 -p1
%build
%rebar compile escriptize

8
no-werror.patch Normal file
View File

@@ -0,0 +1,8 @@
diff -U 3 -H -d -r -N -x .git -x .svn -- mini_s3-0.0.0+git.1350954139.ddeaa30.removed-rebar-deps/rebar.config mini_s3-0.0.0+git.1350954139.ddeaa30.no-werror/rebar.config
--- mini_s3-0.0.0+git.1350954139.ddeaa30.removed-rebar-deps/rebar.config 2013-06-26 13:50:44.110680563 +0200
+++ mini_s3-0.0.0+git.1350954139.ddeaa30.no-werror/rebar.config 2013-06-26 13:50:50.660680662 +0200
@@ -1,3 +1,3 @@
{deps, [
]}.
-{erl_opts, [warnings_as_errors, debug_info]}.
+{erl_opts, [debug_info]}.