Accepting request 999199 from home:jubalh:branches:devel:languages:erlang
- Set correct license - Update to version 0.8.2+git.1418251227.0717c73: * Add {modules, []} to bear.app.src * Fix harmonic_mean behaviour when all values are 0 OR 0.0 * Clean up whitespace * Remove un-necessary if statement * get_statistics_subset should return well-formatted null results * Add unit test on uncovered function, move test data from src/ to test/ Use new approx method for floating numbers * dont take the log of a negative number dummy * empty list case of get_statistics_subset * some formating * Added unit tests for stats_subset - Update URL in service file - Add changes generation to service file - Update PATCH001-remove-git-dependency.patch OBS-URL: https://build.opensuse.org/request/show/999199 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-bear?expand=0&rev=6
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
--- src/bear.app.src 2013-04-19 10:13:06.009882228 +0200
|
||||
+++ src/bear.app.src.patched 2013-04-19 12:35:39.550586076 +0200
|
||||
Index: src/bear.app.src
|
||||
===================================================================
|
||||
--- src/bear.app.src.orig
|
||||
+++ src/bear.app.src
|
||||
@@ -1,7 +1,7 @@
|
||||
{application, bear,
|
||||
[
|
||||
{description, ""},
|
||||
- {vsn, git},
|
||||
+ {vsn, "0.1.3"},
|
||||
+ {vsn, "0.8.2"},
|
||||
{registered, []},
|
||||
{applications, []},
|
||||
{env, []}
|
||||
{env, []},
|
||||
|
5
_service
5
_service
@@ -1,8 +1,9 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">git://github.com/boundary/bear.git</param>
|
||||
<param name="url">https://github.com/boundary/bear</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">0.1.3+git.%ct.%h</param>
|
||||
<param name="versionformat">0.8.2+git.%ct.%h</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
|
||||
<service name="recompress" mode="disabled">
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f562268ea9fb5f6a53b4fb1bfc808698fb03960e000db3e67bb71ca44919aaf4
|
||||
size 106422
|
3
bear-0.8.2+git.1418251227.0717c73.tar.gz
Normal file
3
bear-0.8.2+git.1418251227.0717c73.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f7dc93a94cf8a3cf8e7756e731e5ce6a52aba1cf8e8530a676c21d33915f116
|
||||
size 109847
|
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 25 08:42:50 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Set correct license
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 03 08:59:06 UTC 2022 - mvetter@suse.com
|
||||
|
||||
- Update to version 0.8.2+git.1418251227.0717c73:
|
||||
* Add {modules, []} to bear.app.src
|
||||
* Fix harmonic_mean behaviour when all values are 0 OR 0.0
|
||||
* Clean up whitespace
|
||||
* Remove un-necessary if statement
|
||||
* get_statistics_subset should return well-formatted null results
|
||||
* Add unit test on uncovered function, move test data from src/ to test/ Use new approx method for floating numbers
|
||||
* dont take the log of a negative number dummy
|
||||
* empty list case of get_statistics_subset
|
||||
* some formating
|
||||
* Added unit tests for stats_subset
|
||||
- Update URL in service file
|
||||
- Add changes generation to service file
|
||||
- Update PATCH001-remove-git-dependency.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 17 13:13:36 UTC 2013 - speilicke@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package erlang-bear
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,22 +12,22 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: erlang-bear
|
||||
Version: 0.1.3+git.1361563029.3fd09d1
|
||||
|
||||
%define mod_ver %(echo "%{version}" | cut -d "+" -f1)
|
||||
Name: erlang-bear
|
||||
Version: 0.8.2+git.1418251227.0717c73
|
||||
Release: 0
|
||||
License: unknown
|
||||
Summary: Statistics functions for erlang
|
||||
Url: http://github.com/opscode/bear
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Other
|
||||
URL: https://github.com/opscode/bear
|
||||
Source: bear-%{version}.tar.gz
|
||||
Patch01: PATCH001-remove-git-dependency.patch
|
||||
BuildRequires: erlang-rebar
|
||||
Requires: erlang
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
A set of statistics functions for erlang.
|
||||
@@ -37,15 +37,13 @@ Summary: Statistics functions for erlang
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{name} = %{version}
|
||||
Provides: %{name}-src = %{version}
|
||||
#TODO: Change back to '<' after next version update:
|
||||
Obsoletes: %{name}-src <= %{version}
|
||||
Obsoletes: %{name}-src < %{version}
|
||||
|
||||
%description devel
|
||||
A set of statistics functions for erlang.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -n bear-%{version}
|
||||
%setup -q -n bear-%{version}
|
||||
%patch01
|
||||
|
||||
%build
|
||||
@@ -58,12 +56,11 @@ for dir in ebin src ; do
|
||||
done
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license LICENSE
|
||||
%dir %{erlang_libdir}/bear-%{mod_ver}
|
||||
%{erlang_libdir}/bear-%{mod_ver}/ebin
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{erlang_libdir}/bear-%{mod_ver}/src
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user