diff --git a/PATCH001-remove-git-dependency.patch b/PATCH001-remove-git-dependency.patch index 5cda2d3..4dcdab5 100644 --- a/PATCH001-remove-git-dependency.patch +++ b/PATCH001-remove-git-dependency.patch @@ -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, []}, diff --git a/_service b/_service index 13840f4..e879057 100644 --- a/_service +++ b/_service @@ -1,8 +1,9 @@ - git://github.com/boundary/bear.git + https://github.com/boundary/bear git - 0.1.3+git.%ct.%h + 0.8.2+git.%ct.%h + enable diff --git a/bear-0.1.3+git.1361563029.3fd09d1.tar.gz b/bear-0.1.3+git.1361563029.3fd09d1.tar.gz deleted file mode 100644 index ff37596..0000000 --- a/bear-0.1.3+git.1361563029.3fd09d1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f562268ea9fb5f6a53b4fb1bfc808698fb03960e000db3e67bb71ca44919aaf4 -size 106422 diff --git a/bear-0.8.2+git.1418251227.0717c73.tar.gz b/bear-0.8.2+git.1418251227.0717c73.tar.gz new file mode 100644 index 0000000..9a559e9 --- /dev/null +++ b/bear-0.8.2+git.1418251227.0717c73.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f7dc93a94cf8a3cf8e7756e731e5ce6a52aba1cf8e8530a676c21d33915f116 +size 109847 diff --git a/erlang-bear.changes b/erlang-bear.changes index c4433b4..ac05278 100644 --- a/erlang-bear.changes +++ b/erlang-bear.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Thu Aug 25 08:42:50 UTC 2022 - Michael Vetter + +- 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 diff --git a/erlang-bear.spec b/erlang-bear.spec index 80debbd..00684b5 100644 --- a/erlang-bear.spec +++ b/erlang-bear.spec @@ -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